CC-ing someone in an email via a script
by "Rajnish Bhaskar" <r.bhaskar(at)compserv.gla.ac.uk>
|
| Date: |
Fri, 28 Mar 2003 11:45:07 -0000 |
| To: |
hwg-servers(at)hwg.org, hwg-languages(at)hwg.org |
| |
todo: View
Thread,
Original
|
|
Hi folks,
Apologies for the cross-post but I'm not sure where this belongs.
I want to CC someone in an email that I'm generating in a script --
similar to the PHP mail() function, but in Java. I think that the
header that I'm adding is correct (and, indeed, when the first
recipient recieves the email, it claims that it's been CC-ed
appropriately) but the person in the CC field never receives the
email.
I'm using this header:
Cc: <removed>\n
The (relevent) headers in the received email look something like this
(with email addresses being replaced by 'removed'):
"To: removed
From: IT Education Unit <removed>
Date: 27 March 2003 13:01:43 GMT
Priority: urgent
X-Priority: 1
Cc: removed
"
TIA,
Raj.
--
Rajnish Bhaskar
r.bhaskar(at)compserv.gla.ac.uk, http://lordofthemoon.com
IT Education Unit, University of Glasgow
http://www.iteu.gla.ac.uk/
--
Tourist, Rincewind decided, meant 'idiot'.
-- (Terry Pratchett, The Colour of Magic)
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.