1
私はsendGridとPHPListを統合しようとしています。悲しいことに、最新の記事/文書を見つけることができませんでした。Sendgrid on PHPLIST
config/config.php
ファイルを変更しようとしました。ここで私はまたsetupdir/admin/phpMailer/class.phpmailer.php
を編集しようとしたコード[編集]、
define('PHPMAILERHOST', 'smtp.sendgrid.net');
$phpmailer_smtpuser = 'uname';
$phpmailer_smtppassword = 'pass';
define("PHPMAILER_SECURE",'tls');
## you can set this to send out via a different SMTP port
define('PHPMAILERPORT', 587);
です。ここでそれはどのように見える[変更された行]、
public $Host = 'smtp.sendgrid.net';
public $Port = 587;
public $Helo = '';
public $SMTPSecure = 'tsl';
public $SMTPAutoTLS = true;
public $SMTPAuth = true;
public $Username = 'myusername';
public $Password = 'mypass';
私は両方を試みたが動作しません。私はコードを変更する必要がある正確な場所に私を指摘することはできますか?
おかげで、
php listには慣れていませんが、ポート465はSendGridのSSLメーリング用です。 – dinotom
587のようです。 https://sendgrid.com/docs/Classroom/Basics/Email_Infrastructure/smtp_ports.html – user3526
SSLを使用していない場合は、 – dinotom