473,791 Members | 3,179 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CDONTS Mail.CC question

Hello

The code itself is working, this is more of a cosmetic thing for me...
lets say objRS("memail") = to**********@ao l.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 4469
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**********@ao l.com
Subject: whatever

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

Ray at work

"Tom Petersen" <pe****@sdsd.sd bor.edu> wrote in message
news:uY******** *****@TK2MSFTNG P11.phx.gbl...
Hello

The code itself is working, this is more of a cosmetic thing for me...
lets say objRS("memail") = to**********@ao l.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******** ******@tk2msftn gp13.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**********@ao l.com
Subject: whatever

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

Ray at work

"Tom Petersen" <pe****@sdsd.sd bor.edu> wrote in message
news:uY******** *****@TK2MSFTNG P11.phx.gbl...
Hello

The code itself is working, this is more of a cosmetic thing for me...
lets say objRS("memail") = to**********@ao l.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.It em("email").Val ue & ";bi**********@ aol.com"

Ray at work

"Tom Petersen" <pe****@sdsd.sd bor.edu> wrote in message
news:ex******** ******@TK2MSFTN GP10.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******** ******@tk2msftn gp13.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**********@ao l.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**********@ao l.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******** ******@tk2msftn gp13.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.It em("email").Val ue & ";bi**********@ aol.com"

Ray at work

"Tom Petersen" <pe****@sdsd.sd bor.edu> wrote in message
news:ex******** ******@TK2MSFTN GP10.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******** ******@tk2msftn gp13.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**********@ao l.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.CreateOb ject("CDO.Messa ge")
oCDO.From = "ra*@domaina.co m"
oCDO.To = "ra*@domainb.co m; rc*******@domai nc.com"
oCDO.Subject = "TEst"
oCDO.TextBody = "test"
oCDO.Send
Set oCDO = Nothing
%>

(but with valid domains)

Ray at work
"Tom Petersen" <pe****@sdsd.sd bor.edu> wrote in message
news:OD******** ******@TK2MSFTN GP09.phx.gbl...
The Response.Write does show correctly, i.e.,
to**********@ao l.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.sd bor.edu> wrote in message
news:uY******** *****@TK2MSFTNG P11.phx.gbl...
Hello

The code itself is working, this is more of a cosmetic thing for me...
lets say objRS("memail") = to**********@ao l.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******** ********@TK2MSF TNGP10.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.CreateOb ject("CDO.Messa ge")
oCDO.From = "ra*@domaina.co m"
oCDO.To = "ra*@domainb.co m; rc*******@domai nc.com"
oCDO.Subject = "TEst"
oCDO.TextBody = "test"
oCDO.Send
Set oCDO = Nothing
%>

(but with valid domains)

Ray at work
"Tom Petersen" <pe****@sdsd.sd bor.edu> wrote in message
news:OD******** ******@TK2MSFTN GP09.phx.gbl...
The Response.Write does show correctly, i.e.,
to**********@ao l.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.sd bor.edu> wrote in message
news:uR******** ******@TK2MSFTN GP11.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
4707
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 the site in which CDONTS to one of the IIS "sites" which is known to work with CDONTS, and still, no email received. The bad mail dir gets three files each time, the error is:
8
3952
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 and if so, how can I send emails from ASP page... Many thanks in advance
5
586
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, please? I trust in you, please help me - bye tom
1
2802
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 http://www-1.ibm.com/support/docview.wss?rs=0&uid=swg27002572 that say "for displaying image inline in lotus you must set correct mime header as content disposition : inline" however I can't achieve it with cdonts : my mime header is stuck to "content disposition : attachemnt" and I can't see how...
4
1444
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 sender) To ( the name of the recipient) From E-Mail ( the senders E-Mail Address i.e. the Reply to address) To E-Mail ( The recipient's E-Mail Address ) I am having trouble with two properties. What property do I use...
6
11189
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 will include the code I originally used. I understand I should switch from CDONTS to CDO mail but after several sttempts I am finding a very hard time getting the new CDO mail to work properly. Any assistance with this would be greatly...
12
6305
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 can't create object: 'CDONTS.NewMail' I'm told that is because CDONTS is not installed.
4
2070
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 form and creates a form.asp to mail and the one that takes that file and mails it, mail.asp. I believe I can figure out what needs to be altered in the code for the first form.asp but what needs to be changed in the one that sends the email? Is...
7
2890
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 functionality of cdonts so that I can test/develop on my local machine, preferably without actually sending any mail to the persons involved.
3
3466
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 = "XXXXXXXXXXXX@XXXXXX.COM"
0
9512
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10201
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
10147
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
9987
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...
1
7531
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
5552
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4100
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3709
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2910
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.