Android Question Send Email SMPT Empty Writer Returned

Infotech

Member
Licensed User
B4X:
        Mail.Initialize("smtp.gmail.com", 587, "xxxxxx@gmail.com", "xxxxxxxxxxx", "SMTP")
        Mail.StartTLSMode = True
        Mail.To.Add("xxxxxx@gmail.com")
        Mail.Subject = "This is subjek"
        Mail.Body = "This is body"
        Mail.AddAttachment(File.DirRootExternal,"/kunjungan ke - "&(No)&".pdf")
        Mail.Sender = "xxxxxx@gmail.com" 
        Mail.Send
 
Upvote 0
Top