469,960 Members | 1,876 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,960 developers. It's quick & easy.

Question about sending email from ASP page

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<se****@test.com>"
.To = Request.Form("email")
'.Cc = ""
.BCC = "me<me@test.com>"
.Subject = "Product Info"
.HTMLBody = "body text goes here" & _
"some more text here... "
objMail.Send
End With
Set objMail = Nothing

Sep 12 '05 #1
2 1646
What's the real code that creates the .HtmlBody? Does anything show up in a
view-source of the message body?

Ray at home

"Joe" <Jo*@discussions.microsoft.com> wrote in message
news:69**********************************@microsof t.com...
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<se****@test.com>"
.To = Request.Form("email")
'.Cc = ""
.BCC = "me<me@test.com>"
.Subject = "Product Info"
.HTMLBody = "body text goes here" & _
"some more text here... "
objMail.Send
End With
Set objMail = Nothing

Sep 13 '05 #2
haggul
7
If sending HTML mail and it looks OK to you then I would suggest that something their end is stripping out the content - can you include text content as well?
Sep 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Marcus | last post: by
1 post views Thread by Karzy | last post: by
3 posts views Thread by ..\\Dutch./.. | last post: by
1 post views Thread by Joe | last post: by
10 posts views Thread by e_matthes | last post: by
5 posts views Thread by Mike | last post: by
3 posts views Thread by H. S. Lahman | last post: by
reply views Thread by rainxy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.