473,407 Members | 2,326 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,407 software developers and data experts.

CDONTS Mail.CC question

Hello

The code itself is working, this is more of a cosmetic thing for me...
lets say objRS("memail") = to**********@aol.com

strEmail = objRS("memail") & ";bi**********@aol.com"
Mail.CC= strEmail

When the person (Mail.To) get's the message, the header only shows the objRS
value, followed by a semicolon, the bill.clinton address doesn't show up,
although he does get the email.

So, if the 'to' was for Sally Brown, when she get's the email, she only
see's one name on the CC line, in this case tom.petersen, she doesn't know
it went to bill.clinton as well, unless of course she does a reply to all,
then his name will show in the CC part.

Again, the code works, but I am trying ot get it to display right and was
wondering if it's the code, as it usually is in my case!
TIA!
Jul 19 '05 #1
8 4455
The user should see the CC line unless he has chosen to not view that field.
Are you saying that the person sees this?

From: yo*@yourdomain.com
To: to**********@aol.com
Subject: whatever

And there is no CC line? Or is the CC line blank?

Ray at work

"Tom Petersen" <pe****@sdsd.sdbor.edu> wrote in message
news:uY*************@TK2MSFTNGP11.phx.gbl...
Hello

The code itself is working, this is more of a cosmetic thing for me...
lets say objRS("memail") = to**********@aol.com

strEmail = objRS("memail") & ";bi**********@aol.com"
Mail.CC= strEmail

When the person (Mail.To) get's the message, the header only shows the objRS value, followed by a semicolon, the bill.clinton address doesn't show up,
although he does get the email.

So, if the 'to' was for Sally Brown, when she get's the email, she only
see's one name on the CC line, in this case tom.petersen, she doesn't know
it went to bill.clinton as well, unless of course she does a reply to all,
then his name will show in the CC part.

Again, the code works, but I am trying ot get it to display right and was
wondering if it's the code, as it usually is in my case!
TIA!

Jul 19 '05 #2
The CC line is there, and is only showing one name plus a semi colon, but it
should be showing two names.
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:ee**************@tk2msftngp13.phx.gbl...
The user should see the CC line unless he has chosen to not view that field. Are you saying that the person sees this?

From: yo*@yourdomain.com
To: to**********@aol.com
Subject: whatever

And there is no CC line? Or is the CC line blank?

Ray at work

"Tom Petersen" <pe****@sdsd.sdbor.edu> wrote in message
news:uY*************@TK2MSFTNGP11.phx.gbl...
Hello

The code itself is working, this is more of a cosmetic thing for me...
lets say objRS("memail") = to**********@aol.com

strEmail = objRS("memail") & ";bi**********@aol.com"
Mail.CC= strEmail

When the person (Mail.To) get's the message, the header only shows the

objRS
value, followed by a semicolon, the bill.clinton address doesn't show up, although he does get the email.

So, if the 'to' was for Sally Brown, when she get's the email, she only
see's one name on the CC line, in this case tom.petersen, she doesn't know it went to bill.clinton as well, unless of course she does a reply to all, then his name will show in the CC part.

Again, the code works, but I am trying ot get it to display right and was wondering if it's the code, as it usually is in my case!
TIA!


Jul 19 '05 #3
That's peculiar. What does this result in:
sCC = objRS("email") & ";bi**********@aol.com"
Response.Write sCC
Response.End

Do you see two addresses? If not, try:

sCC = objRS.Fields.Item("email").Value & ";bi**********@aol.com"

Ray at work

"Tom Petersen" <pe****@sdsd.sdbor.edu> wrote in message
news:ex**************@TK2MSFTNGP10.phx.gbl...
The CC line is there, and is only showing one name plus a semi colon, but it should be showing two names.
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:ee**************@tk2msftngp13.phx.gbl...
The user should see the CC line unless he has chosen to not view that

field.
Are you saying that the person sees this?

From: yo*@yourdomain.com
To: to**********@aol.com
Subject: whatever

And there is no CC line? Or is the CC line blank?

Ray at work

Jul 19 '05 #4
The Response.Write does show correctly, i.e.,
to**********@aol.com;bi**********@aol.com
So when I get the mail and do a reply to all, including coming to my self,
and once I get it in my inbox, both names do show up.

So, email from Outlook client via Exchange server works fine
but email from Form via CDONTS and SMTP doesn't display properly.
Still not quite sure how it could work, but not display properly. As you
say, peculiar

"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:eK**************@tk2msftngp13.phx.gbl...
That's peculiar. What does this result in:
sCC = objRS("email") & ";bi**********@aol.com"
Response.Write sCC
Response.End

Do you see two addresses? If not, try:

sCC = objRS.Fields.Item("email").Value & ";bi**********@aol.com"

Ray at work

"Tom Petersen" <pe****@sdsd.sdbor.edu> wrote in message
news:ex**************@TK2MSFTNGP10.phx.gbl...
The CC line is there, and is only showing one name plus a semi colon,
but it
should be showing two names.
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:ee**************@tk2msftngp13.phx.gbl...
The user should see the CC line unless he has chosen to not view that

field.
Are you saying that the person sees this?

From: yo*@yourdomain.com
To: to**********@aol.com
Subject: whatever

And there is no CC line? Or is the CC line blank?

Ray at work


Jul 19 '05 #5
The only other thing that I can suggest is putting a space after the ;, but
I really don't think that'd make a difference. I just executed this code,
and I got an e-mail with a To line with both addresses.
<%

<%
Set oCDO = Server.CreateObject("CDO.Message")
oCDO.From = "ra*@domaina.com"
oCDO.To = "ra*@domainb.com; rc*******@domainc.com"
oCDO.Subject = "TEst"
oCDO.TextBody = "test"
oCDO.Send
Set oCDO = Nothing
%>

(but with valid domains)

Ray at work
"Tom Petersen" <pe****@sdsd.sdbor.edu> wrote in message
news:OD**************@TK2MSFTNGP09.phx.gbl...
The Response.Write does show correctly, i.e.,
to**********@aol.com;bi**********@aol.com
So when I get the mail and do a reply to all, including coming to my self,
and once I get it in my inbox, both names do show up.

So, email from Outlook client via Exchange server works fine
but email from Form via CDONTS and SMTP doesn't display properly.
Still not quite sure how it could work, but not display properly. As you
say, peculiar

Jul 19 '05 #6
<reaching>Did you try comma instead of semi-colon?</reaching>


"Tom Petersen" <pe****@sdsd.sdbor.edu> wrote in message
news:uY*************@TK2MSFTNGP11.phx.gbl...
Hello

The code itself is working, this is more of a cosmetic thing for me...
lets say objRS("memail") = to**********@aol.com

strEmail = objRS("memail") & ";bi**********@aol.com"
Mail.CC= strEmail

When the person (Mail.To) get's the message, the header only shows the objRS value, followed by a semicolon, the bill.clinton address doesn't show up,
although he does get the email.

So, if the 'to' was for Sally Brown, when she get's the email, she only
see's one name on the CC line, in this case tom.petersen, she doesn't know
it went to bill.clinton as well, unless of course she does a reply to all,
then his name will show in the CC part.

Again, the code works, but I am trying ot get it to display right and was
wondering if it's the code, as it usually is in my case!
TIA!

Jul 19 '05 #7
Ray, I'm an idiot, my preview pane wasn't wide enough, both names are there,
sorry!

"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
The only other thing that I can suggest is putting a space after the ;, but I really don't think that'd make a difference. I just executed this code,
and I got an e-mail with a To line with both addresses.
<%

<%
Set oCDO = Server.CreateObject("CDO.Message")
oCDO.From = "ra*@domaina.com"
oCDO.To = "ra*@domainb.com; rc*******@domainc.com"
oCDO.Subject = "TEst"
oCDO.TextBody = "test"
oCDO.Send
Set oCDO = Nothing
%>

(but with valid domains)

Ray at work
"Tom Petersen" <pe****@sdsd.sdbor.edu> wrote in message
news:OD**************@TK2MSFTNGP09.phx.gbl...
The Response.Write does show correctly, i.e.,
to**********@aol.com;bi**********@aol.com
So when I get the mail and do a reply to all, including coming to my self, and once I get it in my inbox, both names do show up.

So, email from Outlook client via Exchange server works fine
but email from Form via CDONTS and SMTP doesn't display properly.
Still not quite sure how it could work, but not display properly. As you say, peculiar


Jul 19 '05 #8
That's funny. [:

"Tom Petersen" <pe****@sdsd.sdbor.edu> wrote in message
news:uR**************@TK2MSFTNGP11.phx.gbl...
Ray, I'm an idiot, my preview pane wasn't wide enough, both names are there, sorry!

Jul 19 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: | last post by:
Hi Guys CDONTS works with all sites hosted on my test server bar one (which surely rules out a miscomputation of the Default SMTP server in IIS). I have tried uploading the file with make up...
8
by: Boris | last post by:
Could someone please tell me if I can use CDONTS in W 2003 Server environment to send emails the same way it is used in W2K Server. I have heard that CDONTS is no longer available in W 2003 Server...
5
by: tom | last post by:
Hi people - I've been trying to make run this form mail with CDONTS but doesnt work at all! it's the first time am using it,could anybody check out where the error might be and let me know,...
1
by: mrique | last post by:
hi My readers that are lotus note user receive the mails I send using cdonts with image displayed as attachement in place of inline. I read...
4
by: RICHARD BROMBERG | last post by:
I am using CDONTS in an ASP program to accept input from a Form and send an E-mail. The form includes the following as well as some other information : From (the name of the...
6
by: DigitalRick | last post by:
I have been running CDONTS in my ASPpages to send emails to me sent from my guestbook. It had been working fine untill I upgraded to Server 2003 (I am also running Exchange 2003) all locally. I...
12
by: Jeff | last post by:
I have a dedicated windows server on BlueGenesis. I'd like to send an email using ASP, but I'm getting this error message: Microsoft VBScript runtime error '800a01ad' ActiveX component...
4
by: Dr. Harvey Waxman | last post by:
I guess I should change from cdonts to cdosys. Since I am ignorant about asp I hope you forgive this basic question. There are two asp files for handling mail, the one that gets the info from a...
7
by: Paul | last post by:
I have just started work on a system using CDONTS to mail out. Whilst this is fine on the server, my local development machine is using XP Pro with IIS5.1 installed. Is there a way I can get the...
3
by: Prasad | last post by:
Hi all, I had to write a page in ASP which sends an email. I googled and was able to write the following code: <html> <body> <% Set Mail = Server.CreateObject("CDONTS.NewMail") Mail.To =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
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
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.