Android Question send email width SMPTextras dont work any more ?

Ran Espensen

Member
Licensed User
Longtime User
Fore over a year ago a used this simular code to this, but now i get a send error??

'SMTPExtras1.Initialize("smtp.gmail.com", 465, "xxx.xxx@gmail.com", "password", "SMTPExtras1")
'SMTPExtras1.UseSSL = True.
'SMTPExtras1.To.Add("Reciever@gmail.com")
'SMTPExtras1.Subject = "This is TxtHeader"
'SMTPExtras1.Body = "This is TxtBody"
'SMTPExtras1.AddHeader("MyField", "MyValue:" & DateTime.Now)
'SMTPExtras1.Send

???
Regards
Ran
 

Ran Espensen

Member
Licensed User
Longtime User
msg from this sub , Error sending message,

and from google
Login attemt is blocked

??
Ran

Sub SMTP_MessageSent(Success As Boolean)
Log(Success)
If Success Then
ToastMessageShow("Message sent successfully", True)
Else
ToastMessageShow("Error sending message", True)
Log(LastException.Message)
End If
End Sub
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…