Hi all
Servoy 223/Windows system hosted on my Server.
Servoy sendMail working fine for client until end last week when started getting SMTPSend 501 error messages every time they tried to send an email - full Server Log errror below.
In tests I can send emails using my Email accounts through the same system which pointed to a problem with their Email SMTP Server.
However, after further testing have discovered that they CAN send emails on their Email Accounts using the same system but hosted on a different Server
Have setup new Email accounts and rebooted my Server but still get same error on every message.
MS Knowledgebase #241892 has following for the error message - but it doesn’t explain why my clients SMTP Server will send from one Servoy SErver but not from another:
SYMPTOMS
When sending e-mail to a third-party SMTP server or through a firewall, a non-delivery report (NDR) similar to the following may be generated:
Subject: Notification: Outbound Mail Failure - A protocol error occurred.A mail message was not sent due to a protocol error.
501 syntactically invalid HELO argument(s)
The message that caused this notification was:
CAUSE
This error is generated by a third-party SMTP server or firewall.When the Microsoft Exchange Internet Mail Service establishes a connection to a remote host, the Internet Mail Service initiates the SMTP conversation with “EHLO domainname.com”. If an error is returned, the Internet Mail Service falls back to “HELO domainname.com”. If the HELO command returns an error, an NDR is generated containing the error.
Any suggestions would be welcomed.
Graham Greensall
Worxinfo Ltd
2006-02-20 11:20 : SMTPSend 501 Syntactically invalid HELO argument(s)
2006-02-20 11:20 : javax.mail.MessagingException: 501 Syntactically invalid HELO argument(s)
at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1250)
at com.sun.mail.smtp.SMTPTransport.helo(SMTPTransport.java:772)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:316)
at javax.mail.Service.connect(Service.java:255)
at javax.mail.Service.connect(Service.java:134)
at javax.mail.Service.connect(Service.java:86)
at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:144)
at javax.mail.Transport.send0(Transport.java:150)
at javax.mail.Transport.send(Transport.java:80)
at com.servoy.r2.plugins.mail.MailServer.sendMail(MailServer.java:226)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)