[SOLVED] swiftmailer and phplist
Posted: Fri Feb 23, 2007 2:27 pm
The Ninja Space Goat | Please use
Thanks in advance!
The Ninja Space Goat | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hello everyone. I use google for your domain for my domain's email, but would like to set up phplist to send out periodic newsletters. I'm also fairly new to the whole php thing.
From my understanding, phplist is built to use php_mail, which doesn't support TLS and thus will not work with gmail. Anyone know what I will need to do to configure phplist to use swiftmailer instead? Is it as simple as calling swiftmail in the config file instead of php mailer? I'm assuming it's not that easy. Anyway, here is a copy of the relevant code from the phplist config file. Any experienced users of phplist out there? I also asked this question on the phplist forum.Code: Select all
#If you want to use the PHPMailer class from phpmailer.sourceforge.net, set the following
# to 1. If you tend to send out html emails, it is recommended to do so.
define("PHPMAILER",1);
# To use a SMTP please give your server hostname here, leave it blank to use the standard
# PHP mail() command.
define("PHPMAILERHOST",'smtp.gmail.com');
# if you want to use smtp authentication when sending the email uncomment the following
# two lines and set the username and password to be the correct ones
$phpmailer_smtpuser = 'newsletter@mydomain.org';
$phpmailer_smtppassword = 'mypassword';The Ninja Space Goat | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]