Skip to content

Commit

Permalink
New graphics
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Mar 10, 2014
1 parent 406a287 commit 943e0bd
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 11 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![PHPMailer](https://raw.github.com/PHPMailer/PHPMailer/master/examples/images/phpmailer.png)

# PHPMailer - A full-featured email creation and transfer class for PHP

Build status: [![Build Status](https://travis-ci.org/PHPMailer/PHPMailer.png)](https://travis-ci.org/PHPMailer/PHPMailer)
Expand Down
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* Improve performance of SMTP class
* Implement automatic 7bit downgrade
* Add Vietnamese translation (Thanks to @vinades)
* Improve example images, switch to PNG

## Version 5.2.7 (September 12th 2013)
* Add Ukranian translation from @Krezalis
Expand Down
6 changes: 3 additions & 3 deletions examples/code_generator.phps
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,10 @@ try {
$example_code .= "\n\$mail->WordWrap = 80;";
$example_code .= "\n\$mail->msgHTML(\$body, dirname(__FILE__), true); //Create message bodies and embed images";

$mail->addAttachment('images/phpmailer_mini.gif', 'phpmailer_mini.gif'); // optional name
$mail->addAttachment('images/phpmailer_mini.png', 'phpmailer_mini.png'); // optional name
$mail->addAttachment('images/phpmailer.png', 'phpmailer.png'); // optional name
$example_code .= "\n\$mail->addAttachment('images/phpmailer_mini.gif'," .
"'phpmailer_mini.gif'); // optional name";
$example_code .= "\n\$mail->addAttachment('images/phpmailer_mini.png'," .
"'phpmailer_mini.png'); // optional name";
$example_code .= "\n\$mail->addAttachment('images/phpmailer.png', 'phpmailer.png'); // optional name";

try {
Expand Down
2 changes: 1 addition & 1 deletion examples/exceptions.phps
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ try {
//Replace the plain text body with one created manually
$mail->AltBody = 'This is a plain-text message body';
//Attach an image file
$mail->addAttachment('images/phpmailer_mini.gif');
$mail->addAttachment('images/phpmailer_mini.png');
//send the message
//Note that we don't need check the response from this because it will throw an exception if it has trouble
$mail->send();
Expand Down
2 changes: 1 addition & 1 deletion examples/gmail.phps
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
//Replace the plain text body with one created manually
$mail->AltBody = 'This is a plain-text message body';
//Attach an image file
$mail->addAttachment('images/phpmailer_mini.gif');
$mail->addAttachment('images/phpmailer_mini.png');

//send the message, check for errors
if (!$mail->send()) {
Expand Down
Binary file modified examples/images/phpmailer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed examples/images/phpmailer_mini.gif
Binary file not shown.
Binary file added examples/images/phpmailer_mini.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion examples/mail.phps
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
//Replace the plain text body with one created manually
$mail->AltBody = 'This is a plain-text message body';
//Attach an image file
$mail->addAttachment('images/phpmailer_mini.gif');
$mail->addAttachment('images/phpmailer_mini.png');

//send the message, check for errors
if (!$mail->send()) {
Expand Down
2 changes: 1 addition & 1 deletion examples/pop_before_smtp.phps
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ try {
//Replace the plain text body with one created manually
$mail->AltBody = 'This is a plain-text message body';
//Attach an image file
$mail->addAttachment('images/phpmailer_mini.gif');
$mail->addAttachment('images/phpmailer_mini.png');
//send the message
//Note that we don't need check the response from this because it will throw an exception if it has trouble
$mail->send();
Expand Down
2 changes: 1 addition & 1 deletion examples/sendmail.phps
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
//Replace the plain text body with one created manually
$mail->AltBody = 'This is a plain-text message body';
//Attach an image file
$mail->addAttachment('images/phpmailer_mini.gif');
$mail->addAttachment('images/phpmailer_mini.png');

//send the message, check for errors
if (!$mail->send()) {
Expand Down
2 changes: 1 addition & 1 deletion examples/smtp.phps
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
//Replace the plain text body with one created manually
$mail->AltBody = 'This is a plain-text message body';
//Attach an image file
$mail->addAttachment('images/phpmailer_mini.gif');
$mail->addAttachment('images/phpmailer_mini.png');

//send the message, check for errors
if (!$mail->send()) {
Expand Down
2 changes: 1 addition & 1 deletion examples/smtp_no_auth.phps
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ $mail->msgHTML(file_get_contents('contents.html'), dirname(__FILE__));
//Replace the plain text body with one created manually
$mail->AltBody = 'This is a plain-text message body';
//Attach an image file
$mail->addAttachment('images/phpmailer_mini.gif');
$mail->addAttachment('images/phpmailer_mini.png');

//send the message, check for errors
if (!$mail->send()) {
Expand Down
2 changes: 1 addition & 1 deletion test/test_callback.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function callbackAction($result, $to, $cc, $bcc, $subject, $body)
$mail->AltBody = 'To view the message, please use an HTML compatible email viewer!';
$mail->msgHTML(file_get_contents('../examples/contents.html'));
$mail->addAttachment('../examples/images/phpmailer.png'); // attachment
$mail->addAttachment('../examples/images/phpmailer_mini.gif'); // attachment
$mail->addAttachment('../examples/images/phpmailer_mini.png'); // attachment
$mail->action_function = 'callbackAction';
$mail->send();
echo "Message Sent OK</p>\n";
Expand Down

0 comments on commit 943e0bd

Please sign in to comment.