Ask a Question related to ASP, Design and Development.
-
Sean #1
CDONTS & BCC
Hi
I have a website hosted on a virtual server, and am trying to run a script
that sends an email with a BCC address.
The email gets sent just fine, except for the BCC recipient, who doesnt
receive anything. Any ideas why?
Thanks
The code is effectively:
' --- setup and send a cdo message
Dim MailObject
Set MailObject = Server.CreateObject("CDONTS.NewMail")
With MailObject
.From = strEmailFrom
.To = strTo
.Subject = strSubject
' --- use the HTML format
If boolUseHTML = True Then
.BodyFormat = 0
.MailFormat = 0
.Body = strBodyHTML
' --- use the plain text format
Else
.BodyFormat = 1
.MailFormat = 1
.Body = strBodyText
End If
.BCC = strEmailBCC
.Send
End With
Set MailObject = Nothing
Sean Guest
-
cdonts.dll on x64
Hi... I know I'm probably going to take a lot of grief over this, but we have a pile of legacy code still using CDONTS on 32-bit systems. We're... -
CDONTS
CDO.Message see www.aspfaq.com CDONTS has been phased out. the last OS to include it was Windows 2000 -
CDONTS vs CDO
OK, so obviously cdonts doesnt work with ii6. Why its depreciated, i dont know. What i need to know is how to just send a simple email, my old... -
using CDONTS on XP iis 5.1
Hi Folks. Trying to use ASP to submit data to both an access database and to an e-mail address at the same time. After downloading the example... -
CDONTS for IIS 5.1
Hi all, I'm trying to get a better understanding of how to use CDONTS on a web server, and I find that I don't have it installed on my own. I'm... -
Ray at #2
Re: CDONTS & BCC
Are you sure the e-mail address is right? Try putting your strEmailBCC in
the To line with the other person so you can see what's going on.
Also check the event logs on the server to see if the SMTP service was
unable to resolve that recipient's domain.
Ray at home
"Sean" <vetNOSPAMjobs@softhome.net> wrote in message
news:1057332707.402403@ananke.eclipse.net.uk...> Hi
>
> I have a website hosted on a virtual server, and am trying to run a script
> that sends an email with a BCC address.
>
> The email gets sent just fine, except for the BCC recipient, who doesnt
> receive anything. Any ideas why?
>
> Thanks
>
> The code is effectively:
>
> ' --- setup and send a cdo message
> Dim MailObject
> Set MailObject = Server.CreateObject("CDONTS.NewMail")
> With MailObject
> .From = strEmailFrom
> .To = strTo
> .Subject = strSubject
> ' --- use the HTML format
> If boolUseHTML = True Then
> .BodyFormat = 0
> .MailFormat = 0
> .Body = strBodyHTML
> ' --- use the plain text format
> Else
> .BodyFormat = 1
> .MailFormat = 1
> .Body = strBodyText
> End If
> .BCC = strEmailBCC
> .Send
> End With
> Set MailObject = Nothing
>
>
Ray at Guest
-
John Smith #3
Re: CDONTS & BCC
just checked into the NG for a solution to this !
My script will send to the To and CC recipient fine but not the BCC (they
are all the same email address so I should have three copies of the email)
but I only get the To and CC messages.
"Ray at <%=sLocation%>" <ray@ajf8jalskdfna.sefrhja7yasdf.com> wrote in
message news:%23NZksUlQDHA.1552@TK2MSFTNGP10.phx.gbl...script> Are you sure the e-mail address is right? Try putting your strEmailBCC in
> the To line with the other person so you can see what's going on.
>
> Also check the event logs on the server to see if the SMTP service was
> unable to resolve that recipient's domain.
>
> Ray at home
>
> "Sean" <vetNOSPAMjobs@softhome.net> wrote in message
> news:1057332707.402403@ananke.eclipse.net.uk...> > Hi
> >
> > I have a website hosted on a virtual server, and am trying to run a>> > that sends an email with a BCC address.
> >
> > The email gets sent just fine, except for the BCC recipient, who doesnt
> > receive anything. Any ideas why?
> >
> > Thanks
> >
> > The code is effectively:
> >
> > ' --- setup and send a cdo message
> > Dim MailObject
> > Set MailObject = Server.CreateObject("CDONTS.NewMail")
> > With MailObject
> > .From = strEmailFrom
> > .To = strTo
> > .Subject = strSubject
> > ' --- use the HTML format
> > If boolUseHTML = True Then
> > .BodyFormat = 0
> > .MailFormat = 0
> > .Body = strBodyHTML
> > ' --- use the plain text format
> > Else
> > .BodyFormat = 1
> > .MailFormat = 1
> > .Body = strBodyText
> > End If
> > .BCC = strEmailBCC
> > .Send
> > End With
> > Set MailObject = Nothing
> >
> >
>
John Smith Guest
-
Ray at #4
Re: CDONTS & BCC
Try testing with different addresses then. I don't know about you, but if I
e-mail myself an e-mail with my e-mail address in the To, CC, and BCC, I
only receive one copy of it.
Ray at home
"John Smith" <john@nospam.spam> wrote in message
news:be4usf$lsk$1@sparta.btinternet.com...in> just checked into the NG for a solution to this !
>
> My script will send to the To and CC recipient fine but not the BCC (they
> are all the same email address so I should have three copies of the email)
> but I only get the To and CC messages.
>
>
>
>
> "Ray at <%=sLocation%>" <ray@ajf8jalskdfna.sefrhja7yasdf.com> wrote in
> message news:%23NZksUlQDHA.1552@TK2MSFTNGP10.phx.gbl...> > Are you sure the e-mail address is right? Try putting your strEmailBCCdoesnt> script> > the To line with the other person so you can see what's going on.
> >
> > Also check the event logs on the server to see if the SMTP service was
> > unable to resolve that recipient's domain.
> >
> > Ray at home
> >
> > "Sean" <vetNOSPAMjobs@softhome.net> wrote in message
> > news:1057332707.402403@ananke.eclipse.net.uk...> > > Hi
> > >
> > > I have a website hosted on a virtual server, and am trying to run a> > > that sends an email with a BCC address.
> > >
> > > The email gets sent just fine, except for the BCC recipient, who>> >> > > receive anything. Any ideas why?
> > >
> > > Thanks
> > >
> > > The code is effectively:
> > >
> > > ' --- setup and send a cdo message
> > > Dim MailObject
> > > Set MailObject = Server.CreateObject("CDONTS.NewMail")
> > > With MailObject
> > > .From = strEmailFrom
> > > .To = strTo
> > > .Subject = strSubject
> > > ' --- use the HTML format
> > > If boolUseHTML = True Then
> > > .BodyFormat = 0
> > > .MailFormat = 0
> > > .Body = strBodyHTML
> > > ' --- use the plain text format
> > > Else
> > > .BodyFormat = 1
> > > .MailFormat = 1
> > > .Body = strBodyText
> > > End If
> > > .BCC = strEmailBCC
> > > .Send
> > > End With
> > > Set MailObject = Nothing
> > >
> > >
> >
>
Ray at Guest



Reply With Quote

