Strange retVal on SendMail (OpenInsight 32-Bit)
At 26 AUG 2009 12:26:31PM John Bouley wrote:
on the call to sendmail I am getting REQS :@vm : HTML is required;
but the email is successfully sent. I am trying to get this working in 7.21. Does anyone remember if this was a bug and has been fixed in later releases?
Before anyone beats me over the head I am using Sprezz's sMail as a fallback but, in this case, I'd preferr to use RTI's if it works.
Thanks,
John
At 26 AUG 2009 03:06PM Jared Bratu wrote:
There are some limitations to SendMail() In 7.2.1. that you may want to consider. It has been replaced with RTI_CDOMail in 9.x. The new function allows for SMTP Authentication and TLS/SSL support.
Are you sending attachments? Plain text or HTML?
According to the current SendMail function if there is an error the SMTP response is returned. It must be happening after the DATA command is being sent. This would explain why the message still gets delivered. However, I don't know why the SMTP server would be sending the @VM as an error in the response. Could your data contain an extra @VM or @FM that is throwing the variable positions off?