S
shank
Has anyone converted from ASPMail to ASPEmail...?
1) I get the following error. Can you offer some insight?
2) Is there an equivalent to this line: Mail.ContentType = "text/html" ...?
thanks!
---------------------------------
Persits.MailSender.4 error '800a0006'
501 Syntax error. Syntax:{RCPT TO:<address> [SIZE=msgSize]}
/email_to_sales.asp, line 225 (line 225 is: Mail.Send)
---------------------------------
<%
Set Mail = Server.CreateObject("Persits.MailSender")
Mail.Host ="mail.mydomain.com"
Mail.From = "(e-mail address removed)"
Mail.FromName = "Purchases Sales Department"
Mail.AddAddress "(e-mail address removed)", "Purchases Sales Department"
Mail.AddBCC "Purchases Support", "(e-mail address removed)"
Mail.AddReplyTo Email, FirstName & " " & LastName
Mail.Priority = 1
Mail.Subject = "Sold By: " & (rsGetCustInfo.Fields.Item("HostURL").Value)
'Mail.ContentType = "text/html"
%>
<%
HTML = "<!DOCTYPE HTML PUBLIC ""-//IETF//DTD HTML//EN"">" & vbCrLf
HTML = HTML & "<html><head><title>Online Order</title></head>"
HTML = HTML & "the rest of my message...."
%>
<%
Mail.IsHTML = True
Mail.Body = HTML
Mail.Send
Set Mail = Nothing
%>
1) I get the following error. Can you offer some insight?
2) Is there an equivalent to this line: Mail.ContentType = "text/html" ...?
thanks!
---------------------------------
Persits.MailSender.4 error '800a0006'
501 Syntax error. Syntax:{RCPT TO:<address> [SIZE=msgSize]}
/email_to_sales.asp, line 225 (line 225 is: Mail.Send)
---------------------------------
<%
Set Mail = Server.CreateObject("Persits.MailSender")
Mail.Host ="mail.mydomain.com"
Mail.From = "(e-mail address removed)"
Mail.FromName = "Purchases Sales Department"
Mail.AddAddress "(e-mail address removed)", "Purchases Sales Department"
Mail.AddBCC "Purchases Support", "(e-mail address removed)"
Mail.AddReplyTo Email, FirstName & " " & LastName
Mail.Priority = 1
Mail.Subject = "Sold By: " & (rsGetCustInfo.Fields.Item("HostURL").Value)
'Mail.ContentType = "text/html"
%>
<%
HTML = "<!DOCTYPE HTML PUBLIC ""-//IETF//DTD HTML//EN"">" & vbCrLf
HTML = HTML & "<html><head><title>Online Order</title></head>"
HTML = HTML & "the rest of my message...."
%>
<%
Mail.IsHTML = True
Mail.Body = HTML
Mail.Send
Set Mail = Nothing
%>