Hello all,
I check many thread here and I got one example to send email using gmail (SMTP), but no error shows and no email received.
any idea ?
I check many thread here and I got one example to send email using gmail (SMTP), but no error shows and no email received.
any idea ?
B4X:
Dim mail As SMTP
mail.Initialize("smtp.gmail.com", 587, "eng.khalidvb@gmail.com", "mypassword", "SMTP")
mail.StartTLSMode = True
mail.To.Add("eng.khalidvb@gmail.com")
mail.Subject = "This is the subject"
mail.Body = "This is the message body."
mail.Sender = "eng.khalidvb@gmail.com" '<--------------------------------------------
mail.Send