VERY URGENT...............

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post 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]
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post 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

)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Wouldn't it be more efficient or easier to use a mailing library?
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post 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.
Post Reply