/home/desid573/ov.desidrivers.com.au/mailer/PHPMailer_5.2.0/examples
NameSizeModeActions
images/-0755rm
contents.html7850644editdlrm
index.html26680644editdlrm
test_db_smtp_basic.php21870644editdlrm
test_mail_advanced.php11690644editdlrm
test_mail_basic.php10110644editdlrm
test_pop_before_smtp_advanced.php13760644editdlrm
test_pop_before_smtp_basic.php11530644editdlrm
test_sendmail_advanced.php12110644editdlrm
test_sendmail_basic.php10840644editdlrm
test_smtp_advanced.php18420644editdlrm
test_smtp_advanced_no_auth.php14730644editdlrm
test_smtp_basic.php18610644editdlrm
test_smtp_basic_no_auth.php15060644editdlrm
test_smtp_gmail_advanced.php19110644editdlrm
test_smtp_gmail_basic.php19170644editdlrm
Edit: /home/desid573/ov.desidrivers.com.au/mailer/PHPMailer_5.2.0/examples/test_mail_advanced.php (1169B)
PHPMailer - Mail() advanced test AddReplyTo('name@yourdomain.com', 'First Last'); $mail->AddAddress('whoto@otherdomain.com', 'John Doe'); $mail->SetFrom('name@yourdomain.com', 'First Last'); $mail->AddReplyTo('name@yourdomain.com', 'First Last'); $mail->Subject = 'PHPMailer Test Subject via mail(), advanced'; $mail->AltBody = 'To view the message, please use an HTML compatible email viewer!'; // optional - MsgHTML will create an alternate automatically $mail->MsgHTML(file_get_contents('contents.html')); $mail->AddAttachment('images/phpmailer.gif'); // attachment $mail->AddAttachment('images/phpmailer_mini.gif'); // attachment $mail->Send(); echo "Message Sent OK

\n"; } catch (phpmailerException $e) { echo $e->errorMessage(); //Pretty error messages from PHPMailer } catch (Exception $e) { echo $e->getMessage(); //Boring error messages from anything else! } ?>