Question about sending email from ASP page

J

Joe

Hi,

I am sending an email from an asp page. Besides sending an email to sender,
I am sending myself a BCC also. Out of 100 emails sent, about 5 recipients
received a blank email (no text in subject and body). The BCC of all these
emails that I sent to myself were fine. When I send email manually to these
5 recipients they receive it well.

I have pasted my code below. Can someone give me a clue as why this could be
happening? Is there any way I can fix it?

Thanks,

Joe

Dim ObjMail
Set ObjMail = Server.CreateObject("CDO.Message")
With objMail
.From = "Sender<[email protected]>"
.To = Request.Form("email")
'.Cc = ""
.BCC = "me<[email protected]>"
.Subject = "Product Info"
.HTMLBody = "body text goes here" & _
"some more text here... "
objMail.Send
End With
Set objMail = Nothing
 
R

Ray Costanzo [MVP]

What's the real code that creates the .HtmlBody? Does anything show up in a
view-source of the message body?

Ray at home
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,130
Latest member
MitchellTe
Top