Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cc and bcc using winsock - please help!

Status
Not open for further replies.

marble

Programmer
Mar 17, 2001
22
0
0
CA
Hi all,

I have search this site for information relating how to implement cc and bcc when using the winsock control with little success.

The small app that I have built will email using the "rcpt to:" command. I have even put in the logic for multiple emails using this command.

Can someone help me with a way to implement cc and bcc when using the winsock control.

Thankyou in advance!

Marble
 
hi,

a think I have a solution for you.

1- in your rcpt to: add only your to person

2- after data
in the header of your message
to: user@domain.com<cr> //add your cc and bcc as :
cc : cc_user@dmain.com; cc_user2@domain2.com<cr>
bcc : bcc_user@domain.com; bcc_user2@domain2.com<cr>
subject : .......

Please tell me if this work ???
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top