|
| [WD] Sending bug report to myself and googlemail warnings |
| Iniciado por guest, 26,jun. 2017 09:30 - 2 respuestas |
| |
| | | |
|
| |
| Publicado el 26,junio 2017 - 09:30 |
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 |
| |
| |
| | | |
|
| | |
| |
| Publicado el 26,junio 2017 - 13:28 |
Hi Markus,
As you are sending via a gmail account your sender email address should according to me match your gmail account email address number (so in the above case xyz@gmail.com).
Ciao,
Peter Holemans |
| |
| |
| | | |
|
| | |
| |
| Publicado el 26,junio 2017 - 13:46 |
Hi Markus,
on top of the previous answer, you should also check in the google account used to send the email that using "other" email programs is authorized. I'm not sure of the exact wording, but there is an option for that.
Best regards |
| |
| |
| | | |
|
| | | | |
| | |
|