Diese Seite mit anderen teilen ...

Informationen zum Thema:
WinDev Forum
Beiträge im Thema:
Erster Beitrag:
vor 11 Monaten
Letzter Beitrag:
vor 11 Monaten
Beteiligte Autoren:
Fabrice Harari, Peter Holemans, Markus K.

[WD] Sending bug report to myself and googlemail warnings

Startbeitrag von Markus K. am 26.06.2017 07:30


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



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).


Peter Holemans

von Peter Holemans - am 26.06.2017 11:28
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

von Fabrice Harari - am 26.06.2017 11:46
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.