Forums
This topic is locked
OT: JMail help
Posted 26 Jun 2002 18:22:11
1
has voted
26 Jun 2002 18:22:11 Michael Rudge posted:
Is there an issue that in JMail the Sender cannot be of the same domain as the recipient?here is the code I'm using:
Set JMail = Server.CreateObject("JMail.SMTPMail"
JMail.ServerAddress = "mail.looppharmacy.com"
JMail.Sender = " "
JMail.SenderName = strFName & strLName
JMail.Subject = "Refills"
JMail.AddRecipient " "
jmail.addrecipient " "
jmail.addrecipient " "
jmail.addrecipient " "
JMail.AddRecipient strEmail
JMail.Body = RefEmail
JMail.AddHeader "Originating-IP", Request.ServerVariables("REMOTE_ADDR"
JMail.ContentType = "text/html"
JMail.Charset = "iso-8859-1"
JMail.ContentTransferEncoding = "7BIT"
IF NOT JMail.Execute THEN
Response.write("refill failed"
ELSE
Michael Rudge