SendMail Error (OpenInsight 32-Bit)
At 23 DEC 2008 04:11:17PM Richard Richter wrote:
Now I'm trying SendMail. I have OI 8.0.7, Outlook 2003 and Windows SBS 2003 with Exchange Server 2003. All have the latest Service Packs and updates. I run SendMail with the following code:
Declare Function SendMail, Msg
mailservername=RPRDDSPA2"
subject=Welcome!"
Body=This is a test of the …"
cc="
bcc="
replyto="
content="
attachmentfilelist=I:\Revsoft\Oinsight\New_Patient_Email\Patient History.pdf":@VM:"I:\Revsoft\Oinsight\New_Patient_Email\Office Location Map.pdf":@VM:"I:\Revsoft\Oinsight\New_Patient_Email\Privacy Practices.pdf"
username="
password="
retval=SendMail(mailservername,sendername,recipient,subject,body,cc,bcc,replyto,content,attachmentfilelist,username,password)
Convert @VM To "-" In retval
Convert @FM To "|" In retval
x=Msg(@Window, "Retval was |":retval)
If I send to another user on the Exchange Server with an email address that the server would recognize, the message is delivered as it should be. However, if it is to go outside the network, I receive the following retval message:
Retval was
REQS-All OK
INIT-220 rprddspa.com Microsoft ESMTP Mail Service, Version 6.0.3790.3959 ready at Tue, 23 Dec 2008 15:43:03-0500
HELO-250 rprddspa.com Hello {192.168.1.23]
FROM-250 2.1.0 [email protected]…Sender OK
RCPT-250 2.1.5 [email protected]
354 Start mail input; end with ,
Can anybody help? I'm starting to tear my hair out.
Thanks,
Richard Richter
At 23 DEC 2008 04:57PM Mike Ruane wrote:
Richard-
A search of this discussion group shows some questions and answers regarding ESMTP as of September. Check it out, and if it makes sense, email me for an update.
Thanks-
Mike