Page 2 of 2

Posted: Tue Oct 10, 2006 9:49 am
by patrikG
ole wrote:patrikG: he thinks we mean <?php tags.

We mean bbCode

Code: Select all

tags, madhu.[/quote]

true [img]http://www.mark-beech.co.uk/play/smilies/blink.gif[/img]

Posted: Tue Oct 10, 2006 9:54 am
by patrikG
Instead of

Code: Select all

foreach($bccemails as $bccemail) 
             {
             $headers.= "$bccemail" . ", ";      //',' separated
             }

          $headers = "Bcc: $headers\r\n";
try

Code: Select all

foreach($bccemails as $bccemail) 
             {
             $headers.= "Bcc: $bccemail\r\n";      //',' separated
             }
(and do note how beautiful the tags are by using

Code: Select all

)

Posted: Tue Oct 10, 2006 10:07 am
by feyd
Wouldn't it be more efficient or easier to use a mailing library?

Posted: Tue Oct 10, 2006 10:11 am
by patrikG
probably, but his script is almost there and if he's under time-constraint, there's no point using an application he hasn't used before.