Another email question (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


momof4boys -> Another email question (3/21/2001 19:59:00)

I have the fdpb.inc file edited to send email confirmation to whoever and it is working great. Thanks a bunches for the help. But obviously you can't just ad sCc = "elsewhere@somewhere.com"
to get a copy sent elsewhere......
How can I get it to send a copy to elsewhere?




Vince from Spain -> RE: Another email question (3/22/2001 20:04:00)

I think you might just be able to

before the line where you send the mail, add the Cc line. For example . . .
myCDONTSMail.Importance= 2
myCDONTSMail.Cc = "elsewhere@somewhere.com"
myCDONTSMail.Send sFrom, sTo, sSubject, sBody

Hope this helps etc . . .

Vince

------------------
Internet Business Solutions S.L.(Spain)





momof4boys -> RE: Another email question (3/22/2001 20:22:00)

It didn't work....
Have any other suggestions?
I hope!




Spooky -> RE: Another email question (3/23/2001 20:16:00)

Does this fomat work?

Dim myMail
Set myMail = CreateObject("CDONTS.NewMail")
myMail.From = "elsewhere@somewhere.com"
myMail.To = "elsewhere@somewhere.com"
myMail.Cc = "elsewhere@somewhere.com"
myMail.Subject = "Sample Message"
myMail.Body = "test
myMail.Send
Set myMail = Nothing

------------------
Spooky
"I am Spooky of Borg. Prepare to be assimilated, babycakes!"
Subscribe to OutFront News
Database / DRW Q & A
The Spooky Login!





momof4boys -> RE: Another email question (3/23/2001 20:33:00)

It's the strangest thing. All the test I ran last night just showed up in the email this morning. Go Figure
That is strange because if I don't add the Cc then I get the responces right away.

Anyway maybe it has something to do with my server?





Spooky -> RE: Another email question (3/23/2001 14:44:00)

Could be, sometimes I wait days.....

------------------
Spooky
"I am Spooky of Borg. Prepare to be assimilated, babycakes!"
Subscribe to OutFront News
Database / DRW Q & A
The Spooky Login!





Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
4.711914E-02