472,331 Members | 1,635 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,331 software developers and data experts.

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 1769
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Marcus | last post by:
Hi all, I've been reading as much as I can on this matter but I still am not totally clear on what I need to do, so here goes... sorry if the...
1
by: Karzy | last post by:
Having more problems with updating contacts. For all that responded to my previous problem THANKS. I accidentally deleted the posts so I couldn't...
3
by: ..\\Dutch./.. | last post by:
Hi all I created a webshop and thats working great But i have a small problem which i cant get solved. When a customer checks out he sees a...
3
by: VB Programmer | last post by:
I have an ASPX page where I send out emails through my mail server mail.MyDomain.com. When I send emails to MyName@MyDomain.com it sends PERFECTLY....
1
by: Joe | last post by:
Hi, I know this is a asp.net newsgroup but may be most you know asp very well. I am sending an email from an asp page. Besides sending an email...
1
by: Eric Sheu | last post by:
Greetings, I have been searching the web like mad for a solution to my SMTP problem. I am using Windows Server 2003 and ASP.NET 2.0 w/ C# to send...
10
by: e_matthes | last post by:
Hello everyone, I have read many threads about concurrency issues, and I think I understand some of the pieces, but not the whole picture. I...
5
by: Mike | last post by:
I have a page with a textbox that a user can enter in mutliple email addresses such as: user1@yahoo.com;user2@yahoo.com;user3@gmail.com; and so...
3
by: H. S. Lahman | last post by:
Responding to siddharthkhare... Ignore Topmind and frebe. They are anti-OO P/R guys. Let's not confuse things with specific 3GL syntax. At...
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
0
by: CD Tom | last post by:
This only shows up in access runtime. When a user select a report from my report menu when they close the report they get a menu I've called Add-ins...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.