Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > converting from ASPMail to ASPEmail

Thread Tools

converting from ASPMail to ASPEmail

Posts: n/a
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" ...?

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.From = "(E-Mail Removed)"
Mail.FromName = "Purchases Sales Department"
Mail.AddAddress "(E-Mail Removed)", "Purchases Sales Department"
Mail.AddBCC "Purchases Support", "(E-Mail Removed)"
Mail.AddReplyTo Email, FirstName & " " & LastName
Mail.Priority = 1
Mail.Subject = "Sold By: " & (rsGetCustInfo.Fields.Item("HostURL").Value)
'Mail.ContentType = "text/html"
HTML = HTML & "<html><head><title>Online Order</title></head>"
HTML = HTML & "the rest of my message...."
Mail.IsHTML = True
Mail.Body = HTML
Set Mail = Nothing

Reply With Quote
Aaron [SQL Server MVP]
Posts: n/a
> 1) I get the following error. Can you offer some insight?

Sure, every other property goes "email", "pretty name", except this one,
which you seem to have got backwards:

> Mail.AddBCC "Purchases Support", "(E-Mail Removed)"

> 2) Is there an equivalent to this line: Mail.ContentType = "text/html"


Mail.IsHTML = True

You might consider looking at the manual, then you don't have to wait for
someone else to look at the manual for you...

(Reverse address to reply.)

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASPMail Question GaryDean ASP .Net 2 12-17-2007 04:41 PM
ASPMAIL Chris A. ASP .Net 1 02-29-2004 10:39 PM
Sending mail from a code-behind .cs module using JMail, ASPEmail? Preston Crawford ASP .Net 0 02-04-2004 04:58 PM
ASPmail Steve Bywaters ASP General 6 01-19-2004 01:44 PM
ASPmail Vs Cdonts b_boy ASP General 1 09-18-2003 03:52 AM