|
Posted by Alvaro G Vicario on 10/21/63 11:25
*** yoelgold@yahoo.com wrote/escribió (31 Aug 2005 14:18:55 -0700):
> $mfrom = "From: Baltimore Trails <i...@baltimoretrails.com>\r\n";
> $mbody = "text....asdfasdfasdfasdfasdfasdf";
> $bcchead1 = "Bcc: i...@baltimoretrails.com\r\n";
> $bcchead2 = "Bcc: yoelg...@baltimoretrails.com\r\n";
> $header = "$mfrom $bcchead1 $bcchead2";
This code creates these headers:
From: Baltimore Trails <i...@baltimoretrails.com>
Bcc: i...@baltimoretrails.com
Bcc: yoelg...@baltimoretrails.com
If first char in line is a white space, mail server will think it's not a
new header but the previous one continued. Remove unwanted spaces.
--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--
Navigation:
[Reply to this message]
|