Ask a Question related to ASP, Design and Development.
-
Tom Petersen #1
CDONTS Mail.CC question
Hello
The code itself is working, this is more of a cosmetic thing for me...
lets say objRS("memail") = [email]tom.petersen@aol.com[/email]
strEmail = objRS("memail") & ";bill.clinton@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!
Tom Petersen Guest
-
Need help with CDONTS or other object to receive mail in a specific way
Hello, Is it possible to write a script using CONDTS object to read all emails from the SMTP IIS "Drop" folder without changing the username and... -
Sending HTML formatted mail using CDONTS
Does anyone have some sample code for sending an HTML formatted message using CDONTS? Thanks RE: Sending HTML formatted mail using CDONTS ... -
how to send chinese mail via CDONTS
Hello Who can teach me how to send chinese(big5) mail via cdonts, I search some information in internet that said using... -
How to set mail server for CDONTS?
You'll have to use CDO instead -- ---------------------------------------------------------- Curt Christianson (Software_AT_Darkfalz.Com)... -
Problems with CDONTS e-mail for non-Latin characters
Hello all I have a very big problem with my ASP pages sending e- mail to my users. I want them to have Greek characters in the message, but... -
Tom Petersen #2
Re: CDONTS Mail.CC question
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:eeGwf$TgDHA.2268@tk2msftngp13.phx.gbl...field.> The user should see the CC line unless he has chosen to not view thatup,> Are you saying that the person sees this?
>
> From: [email]you@yourdomain.com[/email]
> To: [email]tom.peterson@aol.com[/email]
> Subject: whatever
>
> And there is no CC line? Or is the CC line blank?
>
> Ray at work
>
> "Tom Petersen" <petert@sdsd.sdbor.edu> wrote in message
> news:uYa6D5TgDHA.616@TK2MSFTNGP11.phx.gbl...> objRS> > Hello
> >
> > The code itself is working, this is more of a cosmetic thing for me...
> > lets say objRS("memail") = [email]tom.petersen@aol.com[/email]
> >
> > strEmail = objRS("memail") & ";bill.clinton@aol.com"
> > Mail.CC= strEmail
> >
> > When the person (Mail.To) get's the message, the header only shows the> > value, followed by a semicolon, the bill.clinton address doesn't showknow> > 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'tall,> > it went to bill.clinton as well, unless of course she does a reply towas> > then his name will show in the CC part.
> >
> > Again, the code works, but I am trying ot get it to display right and>> > wondering if it's the code, as it usually is in my case!
> > TIA!
> >
> >
>
Tom Petersen Guest
-
Ray at #3
Re: CDONTS Mail.CC question
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: [email]you@yourdomain.com[/email]
To: [email]tom.peterson@aol.com[/email]
Subject: whatever
And there is no CC line? Or is the CC line blank?
Ray at work
"Tom Petersen" <petert@sdsd.sdbor.edu> wrote in message
news:uYa6D5TgDHA.616@TK2MSFTNGP11.phx.gbl...objRS> Hello
>
> The code itself is working, this is more of a cosmetic thing for me...
> lets say objRS("memail") = [email]tom.petersen@aol.com[/email]
>
> strEmail = objRS("memail") & ";bill.clinton@aol.com"
> Mail.CC= strEmail
>
> When the person (Mail.To) get's the message, the header only shows the> 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!
>
>
Ray at Guest
-
Ray at #4
Re: CDONTS Mail.CC question
That's peculiar. What does this result in:
sCC = objRS("email") & ";bill.clinton@aol.com"
Response.Write sCC
Response.End
Do you see two addresses? If not, try:
sCC = objRS.Fields.Item("email").Value & ";bill.clinton@aol.com"
Ray at work
"Tom Petersen" <petert@sdsd.sdbor.edu> wrote in message
news:ex4toCUgDHA.2344@TK2MSFTNGP10.phx.gbl...it> The CC line is there, and is only showing one name plus a semi colon, but> should be showing two names.
>
>
> "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
> news:eeGwf$TgDHA.2268@tk2msftngp13.phx.gbl...> field.> > The user should see the CC line unless he has chosen to not view that> > Are you saying that the person sees this?
> >
> > From: [email]you@yourdomain.com[/email]
> > To: [email]tom.peterson@aol.com[/email]
> > Subject: whatever
> >
> > And there is no CC line? Or is the CC line blank?
> >
> > Ray at work
Ray at Guest
-
Tom Petersen #5
Re: CDONTS Mail.CC question
The Response.Write does show correctly, i.e.,
[email]tom.petersen@aol.com;bill.clinton@aol.com[/email]
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:eKlVJFUgDHA.3968@tk2msftngp13.phx.gbl...but> That's peculiar. What does this result in:
>
>
> sCC = objRS("email") & ";bill.clinton@aol.com"
> Response.Write sCC
> Response.End
>
> Do you see two addresses? If not, try:
>
> sCC = objRS.Fields.Item("email").Value & ";bill.clinton@aol.com"
>
> Ray at work
>
> "Tom Petersen" <petert@sdsd.sdbor.edu> wrote in message
> news:ex4toCUgDHA.2344@TK2MSFTNGP10.phx.gbl...> > The CC line is there, and is only showing one name plus a semi colon,> it>> > should be showing two names.
> >
> >
> > "Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
> > news:eeGwf$TgDHA.2268@tk2msftngp13.phx.gbl...> > field.> > > The user should see the CC line unless he has chosen to not view that> > > Are you saying that the person sees this?
> > >
> > > From: [email]you@yourdomain.com[/email]
> > > To: [email]tom.peterson@aol.com[/email]
> > > Subject: whatever
> > >
> > > And there is no CC line? Or is the CC line blank?
> > >
> > > Ray at work
>
Tom Petersen Guest
-
Ray at #6
Re: CDONTS Mail.CC question
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 = "ray@domaina.com"
oCDO.To = "ray@domainb.com; [email]rcostanzo@domainc.com[/email]"
oCDO.Subject = "TEst"
oCDO.TextBody = "test"
oCDO.Send
Set oCDO = Nothing
%>
(but with valid domains)
Ray at work
"Tom Petersen" <petert@sdsd.sdbor.edu> wrote in message
news:OD1mVRUgDHA.2408@TK2MSFTNGP09.phx.gbl...> The Response.Write does show correctly, i.e.,
> [email]tom.petersen@aol.com;bill.clinton@aol.com[/email]
> 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 Guest
-
Aaron Bertrand - MVP #7
Re: CDONTS Mail.CC question
<reaching>Did you try comma instead of semi-colon?</reaching>
"Tom Petersen" <petert@sdsd.sdbor.edu> wrote in message
news:uYa6D5TgDHA.616@TK2MSFTNGP11.phx.gbl...objRS> Hello
>
> The code itself is working, this is more of a cosmetic thing for me...
> lets say objRS("memail") = [email]tom.petersen@aol.com[/email]
>
> strEmail = objRS("memail") & ";bill.clinton@aol.com"
> Mail.CC= strEmail
>
> When the person (Mail.To) get's the message, the header only shows the> 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!
>
>
Aaron Bertrand - MVP Guest
-
Tom Petersen #8
Re: CDONTS Mail.CC question
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:%236HjfWUgDHA.2292@TK2MSFTNGP10.phx.gbl...but> The only other thing that I can suggest is putting a space after the ;,self,> 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 = "ray@domaina.com"
> oCDO.To = "ray@domainb.com; [email]rcostanzo@domainc.com[/email]"
> oCDO.Subject = "TEst"
> oCDO.TextBody = "test"
> oCDO.Send
> Set oCDO = Nothing
> %>
>
> (but with valid domains)
>
> Ray at work
>
>
> "Tom Petersen" <petert@sdsd.sdbor.edu> wrote in message
> news:OD1mVRUgDHA.2408@TK2MSFTNGP09.phx.gbl...> > The Response.Write does show correctly, i.e.,
> > [email]tom.petersen@aol.com;bill.clinton@aol.com[/email]
> > So when I get the mail and do a reply to all, including coming to myyou> > 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>> > say, peculiar
> >
>
Tom Petersen Guest
-
Ray at #9
Re: CDONTS Mail.CC question
That's funny. [:
"Tom Petersen" <petert@sdsd.sdbor.edu> wrote in message
news:uR9lyhUgDHA.2748@TK2MSFTNGP11.phx.gbl...there,> Ray, I'm an idiot, my preview pane wasn't wide enough, both names are> sorry!
Ray at Guest



Reply With Quote

