I am using php mailer class to send multiple attachment mails. Two error are coming my way:
First these two lines apear when email is sended, these errors are from class.phpmailer.php:
Deprecated: Function set_magic_quotes_runtime() is deprecated in
/var/www/dev01/maiarn/class.phpmailer.php on line 1471Deprecated: Function set_magic_quotes_runtime() is deprecated in
/var/www/dev01/maiarn/class.phpmailer.php on line 1475 Message has
been sent.
Second
The email is sent with only one attachment, The second goes where:
$mail->AddAttachment("logo.jpg"); // attachment
$mail->AddAttachment("logo.jpg");
Any Help
It looks like you are using PHPMailer for PHP4 when you are running PHP5. If you are indeed running PHP5, make sure you have the latest PHPMailer from http://code.google.com/a/apache-extras.org/p/phpmailer/downloads/list
As for the attachments, you are attaching the same file twice? PHPMailer is probably removing duplicates.