error when i try and send email
ok, i promise this will be the last time for awhile i turn to you guys for help.
I'm trying to connect to a external smtp server using the bytearray classes:
var myMailer:SMTPMailer = new SMTPMailer ("outbound.mailhop.org", 2525);
myMailer.authenticate("password", "login")
myMailer.addEventListener(SMTPEvent.MAIL_SENT, onMailSent);
// event dispatched when mail could not be sent
myMailer.addEventListener(SMTPEvent.MAIL_ERROR, onMailError);
// event dispatched when SMTPMailer successfully connected to the SMTP server
myMailer.addEventListener(SMTPEvent.CONNECTED, onConnected);
// event dispatched when SMTP server disconnected the client for different reasons
myMailer.addEventListener(SMTPEvent.DISCONNECTED, onDisconnected);
// event dispatched when the client has authenticated successfully
myMailer.addEventListener(SMTPEvent.AUTHENTICATED, onAuthSuccess);
// event dispatched when the client could not authenticate
myMailer.addEventListener(SMTPEvent.BAD_SEQUENCE, onAuthFailed);
myMailer.sendHTMLMail ( "maxkool22@yahoo.com", "jorgesanchezwd@optonline.net", "test smtp", "<br><b>Picture from HTML :)</b>");
It seems to connect just fine but when I try and sent the email this is the error i get:
554 SMTP synchronization error
I have never seen this error before and when i try and google it there really isnt much info on what causes the issue or how to fix it.
I've stumped you guys before but I'm hoping this one isnt one of those questions!!
Thanks
Jorge
