Code: Select all
emailaddress$="email@gmail.com"
password$="secretpassword1"
toaddress$="email@hotmail.com"
CreateMail(1,emailaddress$,"Greetings")
SetMailBody(1,"Test Email")
AddMailRecipient(1, toaddress$, #PB_Mail_To)
Debug SendMail(1,"smtp.gmail.com",587,#PB_Mail_Debug,emailaddress$,password$)
Repeat
Debug MailProgress(1)
Delay(300)
Until Progress = #PB_Mail_Finished Or Progress = #PB_Mail_Error

