Hi, I am using the code Ifound to send an email and no matter what I code I allways get a 503 error
The smtp need authentication but works in port 25
How can I fix it?
Thanks
The smtp need authentication but works in port 25
B4X:
Sub bMail_Click
SMTP.Initialize("mail.armi.com.ar", 25, "[email protected]", "password", "SMTP")
SMTP.UseSSL=False
SMTP.StartTLSMode = False
SMTP.To.Add("[email protected]")
SMTP.Subject = "This is the subject"
SMTP.Body = "This is the message body."
'SMTP.AddAttachment(File.DirRootExternal, "somefile")
SMTP.Send
End Sub
Sub SMTP_MessageSent(Success As Boolean)
Log(Success)
If Success Then
ToastMessageShow("Message sent successfully", True)
Else
ToastMessageShow("Error sending message "&LastException.Message, True)
Log(LastException.Message)
End If
End Sub
How can I fix it?
Thanks