473,399 Members | 3,302 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Question about sending email from ASP page

Joe
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 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("E_Mail")
'.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

Nov 19 '05 #1
1 1100
Try microsoft.public.inetserver.asp.general

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"Joe" <Jo*@discussions.microsoft.com> wrote in message
news:46**********************************@microsof t.com...
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 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("E_Mail")
'.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

Nov 19 '05 #2

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 question isn't totally PHP related, but my entire...
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 do it with a reply. Anyhoo... When I send an...
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 confirmation page which he can print. That same...
2
by: Joe | last post by:
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...
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. When I try sending an email to any other address...
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 out e-mails from a web site I have created to...
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 believe I am like many people using php: ...
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 on, I then have a foreach loop to get all of the...
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 the OOA/D level the model looks like: | 1
22
by: Neil Gould | last post by:
Or... when is a script not a script? I have several modules for managing different aspects of our club's website, most of which are multi-page. Does setting such things as server.ScriptTimeout...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.