cale250 Posted March 17, 2009 Report Posted March 17, 2009 Nabeel, I've been working on a solution to the mass-mailing feature, but I need to know if Util::SendEmail supports sending multiple e-mails (i.e. separated by a comma like Outlook or GMail, for example). Quote
Administrators Nabeel Posted March 18, 2009 Administrators Report Posted March 18, 2009 It will, however all the emails will be shown. I haven't started it yet, but I'll be using the PHPMailer class (the util::sendmail()) is just an alias to it You can do: <?php $mail = new PHPMailer(); $mail->From = ($fromemail == '') ? ADMIN_EMAIL : $fromemail; $mail->FromName = ($fromname == '') ? SITE_NAME : $fromname; $mail->Mailer = 'mail'; $mail->AddAddress($email); $mail->Subject = $subject; $mail->Body = $message; $mail->AltBody = strip_tags($message); $mail->Send(); Quote
cale250 Posted March 18, 2009 Author Report Posted March 18, 2009 Ah, ok. Thank you. It helps to know what it does and does not support; it's hard to tell when you broke the search function on your primary development computer... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.