Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HttpMail?---How to specify a CC or BCC
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00914035
Message ID:
00914364
Vues:
13
Hi Mark,

The email message header is processed by email program not by SMTP server. You'll have to handle CC and BCC yourself. See http://www.faqs.org/rfcs/rfc2822.html for details.

>I'm using HotmailSend within VFP and it works well... but I need to know how to designate a CC or BCC recipient. What do I do with the code below? Simply putting a "CC:" line after the "To:" line didn't work... but I gotta admit I really don't know the details of what is happening here. Is the SMTP server supposed to process the header info and handle the CC/BCC operations?... or is it up to the email client (me) to handle that?
>
	cMessage = 'MAIL FROM:<' + cEmail + '>' + cret +;
>		'RCPT TO:<' + cRecipient + '>' + cret +;
>		'' + cret +;
>		'From: <' + cEmail + '>' + cret +;
>		'To: <' + cRecipient + '>' + cret +;
>		'Subject: ' + cSubject + cret +;
>		'Date: ' + TTOC(datetime()) + cret +;
>		'MIME-Version: 1.0' + cret +;
>		'Content-Type: text/plain;' + cret +;
>		'X-Mailer: Visual FoxPro applicaiton' + cret +;
>		'' + cret +;
>		cMsgBody
>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform