klenwell information services : PhpGmailMailer

Revision history for PhpGmailMailer


Revision [2981]

Last edited on 2016-07-09 16:54:43 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
===[[http://code.google.com/p/klenwell/downloads/list | download here]]===
[[http://code.google.com/p/klenwell/issues/list | click here to report bugs]]
""GmailMailer"" is an extension of [[http://phpmailer.sourceforge.net/ | PHPMailer]] for use with [[https://mail.google.com/support/bin/answer.py?answer=13287&query=smtp&topic=&type=f&ctx=search | Gmail accounts via smtp]]. Unlike the other solutions I've found to the problem of using ""PHPMailer"" with Gmail, ""GmailMailer"" -- by extending the ""PHPMailer"" class and overriding a couple function -- does not require any modification of the ""PHPMailer"" class itself.
It can be downloaded together with a test script from the klenwell code site. The source is available from [[http://klenwell.googlecode.com/svn/trunk/PHP/kw_gmailer/ | the repository]].
Google policy does not allow "third party software that automatically logs in to your account". For more info, [[http://mail.google.com/support/bin/answer.py?answer=43692 | click here]]
""GmailMailer"" does not come packaged with ""PHPMailer"". That can be [[http://phpmailer.sourceforge.net/ | downloaded here]]. ""GmailMailer"" calls the file for the ""PHPMailer"" base class around line 65:
This is the same code from the [[http://klenwell.googlecode.com/svn/branches/archive2008/PHP/kw_gmailer/test.gmailer.php | test script]]. Username and Password below would be your gmail email address (e.g. klenwell@gmail.com) and password.
Deletions:
===[[http://code.google.com/p/klenwell/downloads/list download here]]===
[[http://code.google.com/p/klenwell/issues/list click here to report bugs]]
""GmailMailer"" is an extension of [[http://phpmailer.sourceforge.net/ PHPMailer]] for use with [[https://mail.google.com/support/bin/answer.py?answer=13287&query=smtp&topic=&type=f&ctx=search Gmail accounts via smtp]]. Unlike the other solutions I've found to the problem of using ""PHPMailer"" with Gmail, ""GmailMailer"" -- by extending the ""PHPMailer"" class and overriding a couple function -- does not require any modification of the ""PHPMailer"" class itself.
It can be downloaded together with a test script from the klenwell code site. The source is available from [[http://klenwell.googlecode.com/svn/trunk/PHP/kw_gmailer/ the repository]].
Google policy does not allow "third party software that automatically logs in to your account". For more info, [[http://mail.google.com/support/bin/answer.py?answer=43692 click here]]
""GmailMailer"" does not come packaged with ""PHPMailer"". That can be [[http://phpmailer.sourceforge.net/ downloaded here]]. ""GmailMailer"" calls the file for the ""PHPMailer"" base class around line 65:
This is the same code from the [[http://klenwell.googlecode.com/svn/branches/archive2008/PHP/kw_gmailer/test.gmailer.php test script]]. Username and Password below would be your gmail email address (e.g. klenwell@gmail.com) and password.


Revision [1198]

Edited on 2010-04-10 07:37:37 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
This is the same code from the [[http://klenwell.googlecode.com/svn/branches/archive2008/PHP/kw_gmailer/test.gmailer.php test script]]. Username and Password below would be your gmail email address (e.g. klenwell@gmail.com) and password.
Deletions:
This is the same code from the [[http://klenwell.googlecode.com/svn/trunk/PHP/kw_gmailer/test.gmailer.php test script]]. Username and Password below would be your gmail email address (e.g. klenwell@gmail.com) and password.


Revision [692]

Edited on 2007-07-16 00:25:29 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
===Caution===
===Configure===
===Usage===
Deletions:
=====Caution=====
=====Configure=====
=====Usage=====


Revision [618]

Edited on 2007-06-27 19:06:50 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
CategoryGreqo


Revision [617]

Edited on 2007-06-27 19:06:12 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
=====Caution=====
Google policy does not allow "third party software that automatically logs in to your account". For more info, [[http://mail.google.com/support/bin/answer.py?answer=43692 click here]]


Revision [495]

Edited on 2007-05-10 17:53:59 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
""GmailMailer"" is an extension of [[http://phpmailer.sourceforge.net/ PHPMailer]] for use with [[https://mail.google.com/support/bin/answer.py?answer=13287&query=smtp&topic=&type=f&ctx=search Gmail accounts via smtp]]. Unlike the other solutions I've found to the problem of using ""PHPMailer"" with Gmail, ""GmailMailer"" -- by extending the ""PHPMailer"" class and overriding a couple function -- does not require any modification of the ""PHPMailer"" class itself.
Deletions:
""GmailMailer"" is an extension of [[http://phpmailer.sourceforge.net/ PHPMailer]] for use with [[https://mail.google.com/support/bin/answer.py?answer=13287&query=smtp&topic=&type=f&ctx=search Gmail accounts via SMTP]]. Unlike the other solutions I've found to the problem of using ""PHPMailer"" with Gmail, ""GmailMailer"" -- by extending the ""PHPMailer"" class and overriding a couple function -- does not require any modification of the ""PHPMailer"" class itself.


Revision [494]

Edited on 2007-05-10 17:53:34 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
""GmailMailer"" is an extension of [[http://phpmailer.sourceforge.net/ PHPMailer]] for use with [[https://mail.google.com/support/bin/answer.py?answer=13287&query=smtp&topic=&type=f&ctx=search Gmail accounts via SMTP]]. Unlike the other solutions I've found to the problem of using ""PHPMailer"" with Gmail, ""GmailMailer"" -- by extending the ""PHPMailer"" class and overriding a couple function -- does not require any modification of the ""PHPMailer"" class itself.
Deletions:
""GmailMailer"" is an extension of [[http://phpmailer.sourceforge.net/ PHPMailer]] for use with Gmail accounts. Unlike the other solutions I've found to the problem of using ""PHPMailer"" with Gmail, ""GmailMailer"" -- by extending the ""PHPMailer"" class and overriding a couple function -- does not require any modification of the ""PHPMailer"" class itself.


Revision [493]

Edited on 2007-05-10 17:45:26 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
This is the same code from the [[http://klenwell.googlecode.com/svn/trunk/PHP/kw_gmailer/test.gmailer.php test script]]. Username and Password below would be your gmail email address (e.g. klenwell@gmail.com) and password.
Deletions:
This is the same code from the test script. Username and Password below would be your gmail email address (e.g. klenwell@gmail.com) and password.


Revision [492]

Edited on 2007-05-10 17:43:39 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
This is the same code from the test script. Username and Password below would be your gmail email address (e.g. klenwell@gmail.com) and password.


Revision [491]

Edited on 2007-05-10 15:32:00 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
[[http://code.google.com/p/klenwell/issues/list click here to report bugs]]
""GmailMailer"" is an extension of [[http://phpmailer.sourceforge.net/ PHPMailer]] for use with Gmail accounts. Unlike the other solutions I've found to the problem of using ""PHPMailer"" with Gmail, ""GmailMailer"" -- by extending the ""PHPMailer"" class and overriding a couple function -- does not require any modification of the ""PHPMailer"" class itself.
Deletions:
""GmailMailer"" is an extension of [[http://phpmailer.sourceforge.net/ PHPMailer]] for use with Gmail accounts. Unlike some other solutions I've found to the problem of using ""PHPMailer"" with Gmail, ""GmailMailer"" -- by extending the ""PHPMailer"" class and overriding a couple function -- does not require any modification of the ""PHPMailer"" class itself.


Revision [490]

Edited on 2007-05-10 15:11:57 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
""GmailMailer"" is an extension of [[http://phpmailer.sourceforge.net/ PHPMailer]] for use with Gmail accounts. Unlike some other solutions I've found to the problem of using ""PHPMailer"" with Gmail, ""GmailMailer"" -- by extending the ""PHPMailer"" class and overriding a couple function -- does not require any modification of the ""PHPMailer"" class itself.
Deletions:
""GmailMailer"" is an extension of [[http://phpmailer.sourceforge.net/ PHPMailer] for use with Gmail accounts. Unlike some other solutions I've found to the problem of using ""PHPMailer"" with Gmail, ""GmailMailer"" -- by extending the ""PHPMailer"" class and overriding a couple function -- does not require any modification of the ""PHPMailer"" class itself.


Revision [489]

Edited on 2007-05-10 15:05:42 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
""GmailMailer"" is an extension of [[http://phpmailer.sourceforge.net/ PHPMailer] for use with Gmail accounts. Unlike some other solutions I've found to the problem of using ""PHPMailer"" with Gmail, ""GmailMailer"" -- by extending the ""PHPMailer"" class and overriding a couple function -- does not require any modification of the ""PHPMailer"" class itself.
Deletions:
""GmailMailer"" is an extension of ""PHPMailer"" for use with Gmail accounts. Unlike some other solutions I've found to the problem of using ""PHPMailer"" with Gmail, ""GmailMailer"" -- by extending the ""PHPMailer"" class and overriding a couple function -- does not require any modification of the ""PHPMailer"" class itself.


Revision [488]

Edited on 2007-05-10 15:04:59 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
===[[http://code.google.com/p/klenwell/downloads/list download here]]===
It can be downloaded together with a test script from the klenwell code site. The source is available from [[http://klenwell.googlecode.com/svn/trunk/PHP/kw_gmailer/ the repository]].
Deletions:
It can be downloaded together with a test script from the klenwell code site. The source is available from the repository.


Revision [487]

Edited on 2007-05-10 14:42:39 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]

No Differences

Revision [486]

Edited on 2007-05-10 14:42:08 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
The simplest way to accomplish this is to drop ""GmailMailer"" in the same directory as ""PHPMailer"" and leave ""$__PHPMAILER['dirpath']"" blank. Otherwise, ""$__PHPMAILER['dirpath']"" should be pointed to the directory in which ""PHPMailer"" is found.
Deletions:
The simplest way to accomplish this is to drop ""GmailMailer"" in the same directory as ""PHPMailer"" and leave $__PHPMAILER['dirpath'] blank. Otherwise, $__PHPMAILER['dirpath'] should be pointed to the directory in which ""PHPMailer"" is found.


Revision [485]

Edited on 2007-05-10 14:41:25 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
""GmailMailer"" does not come packaged with ""PHPMailer"". That can be [[http://phpmailer.sourceforge.net/ downloaded here]]. ""GmailMailer"" calls the file for the ""PHPMailer"" base class around line 65:
// *** IMPORTANT : set path to directory holding PHPMailer base class here
$__PHPMAILER['dirpath'] = '';
$__PHPMAILER['basename'] = 'class.phpmailer.php';
require_once($__PHPMAILER['dirpath'] . $__PHPMAILER['basename']);
The simplest way to accomplish this is to drop ""GmailMailer"" in the same directory as ""PHPMailer"" and leave $__PHPMAILER['dirpath'] blank. Otherwise, $__PHPMAILER['dirpath'] should be pointed to the directory in which ""PHPMailer"" is found.


Revision [484]

Edited on 2007-05-10 14:35:38 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
// settings
$_PATH['gmailer'] = 'gmailer.class.php';

// run
require_once($_PATH['gmailer']);
$Mailer = new GmailMailer($debug=1);
$Mailer->Username = '';
$Mailer->Password = '';
$Mailer->FromName = 'Your Name';
$Mailer->AddAddress('recipient@gmail.com', 'Recipient Name');
$Mailer->Subject = 'testing GmailMailer';
$Mailer->Body = "This is a test of GmailMailer, an extension of PHPMailer for use with Gmail accounts.";

if ( !$Mailer->send_email() )
{
trigger_error('drats! It failed', E_USER_WARNING);
}
else
{
$Mailer->print_d('Message successfully sent!');
$Mailer->print_d("<pre><b>Subject:{$Mailer->Subject}</b>\n{$Mailer->Body}</pre>");
}


Revision [483]

Edited on 2007-05-10 14:34:07 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]
Additions:
======Klenwell ""GmailMailer""======
""GmailMailer"" is an extension of ""PHPMailer"" for use with Gmail accounts. Unlike some other solutions I've found to the problem of using ""PHPMailer"" with Gmail, ""GmailMailer"" -- by extending the ""PHPMailer"" class and overriding a couple function -- does not require any modification of the ""PHPMailer"" class itself.
Deletions:
======Klenwell GmailMailer======
GmailMailer is an extension of PHPMailer for use with Gmail accounts. Unlike some other solutions I've found to the problem of using PHPMailer with Gmail, GmailMailer -- by extending the PHPMailer class and overriding a couple function -- does not require any modification of the PHPMailer class itself.


Revision [482]

The oldest known version of this page was created on 2007-05-10 14:32:28 by KlenwellAdmin [Replaces old-style internal links with new pipe-split links.]