Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WD] Sending bug report to myself and googlemail warnings (2 replies)

$
0
0
Hi,

in my program the user can send me the error/exception description when an error/an exception occurs.
Usually i get the email and a message from google (security warning). Sometimes i only get a message from google which says i should check a blocked login try. (I don't know the correct messages in english, i get german messages). So i am not sure if someone tried to send me an error report but it got blocked by google.

How do you handle this?


I use the following code:

MySession is EmailSMTPSession
MySession..ServerAddress = "smtp.gmail.com"
MySession..Name = "xyz@gmail.com"
MySession..Password = "passwort"
MySession..Port = "587"

MyMessage is Email
MyMessage..Sender = "abc@def.de"
Add(MyMessage..Recipient, "123@456.de")
Add(MyMessage..Recipient, "ghi@gmail.com")
MyMessage..Subject = "Fehlermeldung"

MyMessage..Message = some text

// Send the message
IF EmailSendMessage(MySession, MyMessage) = False THEN
Error(ErrorInfo(errMessage))
ELSE
EmailCloseSession(MySession)
END

Greetings
Markus

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>