473,769 Members | 6,404 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.CreateOb ject("CDO.Messa ge")
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

Sep 12 '05 #1
2 1912
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*@discussion s.microsoft.com > wrote in message
news:69******** *************** ***********@mic rosoft.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.CreateOb ject("CDO.Messa ge")
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

Sep 13 '05 #2
haggul
7 New Member
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
2219
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 project is coded in PHP so I figured this would be as good a place as any to ask. If I have two PHP scripts, both protected by SSL, and the second script sends an email containing sensitive data using mail() with info provided in the first...
1
1903
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 email to an individual (for example) I include this in my mail script: $sql = "INSERT into player_contact values ('', '$player_id', '$_POST
3
1611
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 page sends also a autoresponder that shows the customer what he just buyed. The auto responder is plain text and looks like shit so i had the idea to
3
6833
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 (non-MyDomain.com address) I get the following error: The server rejected one or more recipient addresses. The server response was: 550 You must check your mail from this IP or SMTP Auth before sending to BSmith@Juno.com Here's the FULL...
1
1118
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 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.
1
8182
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 the members of my organization. I think my problem is incorrectly setting the settings on my server or an authentication problem. Here is the code I have written to send a test message: -----Code Begins: Sensitive Information Replaced by -----...
10
1800
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: developing a personal website on a windows machine, that will be hosted on a shared linux server. Financial reality makes it impossible to think of a dedicated server, and I'm not ready to jump into developing on a linux box.
5
2161
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 emaill addresses and send emails out. the problem is that all of the email addresses the email is being sent to is showing in the section so everyone knows who's getting the email. How can I have 1 email address showing in the section so no...
3
157
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
0
10045
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9993
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9863
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8870
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7406
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5298
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.