質問 > その他 > Config send mail in ec-cube |
その他
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | 下へ |
投稿者 | スレッド |
---|---|
duyanh419 |
投稿日時: 2012/7/31 13:10
対応状況: 開発中
|
半人前 登録日: 2012/6/25 居住地: 投稿: 30 |
Config send mail in ec-cube How do I config send mail in ec-cube? I use sever local host I want to test mail is gmail? By the way, Can i Config mail?. Thank so much!
|
seasoft |
投稿日時: 2012/7/31 13:35
対応状況: −−−
|
神 登録日: 2008/6/4 居住地: 投稿: 7367 |
Re: Config send mail in ec-cube EC-CUBE のバージョンは、何を利用していますか?
|
duyanh419 |
投稿日時: 2012/7/31 15:12
対応状況: −−−
|
半人前 登録日: 2012/6/25 居住地: 投稿: 30 |
Re: Config send mail in ec-cube Thanks! Ec-cube ver 2.12
|
seasoft |
投稿日時: 2012/7/31 15:24
対応状況: −−−
|
神 登録日: 2008/6/4 居住地: 投稿: 7367 |
Re: Config send mail in ec-cube インストール設定で対応可能だと思います。
分かりにくいのですが、「オプション設定」として「メールサーバーの設定(オプション)」が用意されています。 インストール後に設定変更する場合、data/config/config.php の編集で対応可能なようです。
|
duyanh419 |
投稿日時: 2012/7/31 15:39
対応状況: −−−
|
半人前 登録日: 2012/6/25 居住地: 投稿: 30 |
Re: Config send mail in ec-cube I config in file config
define('MAIL_BACKEND', 'mail'); define('SMTP_HOST', 'smtp.gmail.com'); define('SMTP_PORT', '587'); But it doesn't send Email. I Test in localhost file log show messeage: ata\class\helper\SC_Helper_Purchase.php(265): SC_Helper_HandleError::handle_warning 2012/07/31 15:29:41 [/ecsite/html/shopping/confirm.php] Warning(E_WARNING): mail() [<a href='function.mail'>function.mail</a>]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() on [D:\wamp3\www\ec-cube\data\module\Mail\mail.php(153)] from 127.0.0.1 customer_id = 1. |
seasoft |
投稿日時: 2012/7/31 16:09
対応状況: −−−
|
神 登録日: 2008/6/4 居住地: 投稿: 7367 |
Re: Config send mail in ec-cube MAIL_BACKEND は、smtp に変更する必要があります。
あと、SMTP_USER, SMTP_PASSWORD の設定も必要です。
|
duyanh419 |
投稿日時: 2012/7/31 16:27
対応状況: −−−
|
半人前 登録日: 2012/6/25 居住地: 投稿: 30 |
Re: Config send mail in ec-cube I add SMTP_USER, SMTP_PASSWORD but it doesn't work. I use wamp server. Hava I config in wampp server? or Config in ec-cube is enough.
|
seasoft |
投稿日時: 2012/7/31 16:35
対応状況: −−−
|
神 登録日: 2008/6/4 居住地: 投稿: 7367 |
Re: Config send mail in ec-cube SMTP を使う場合、wampp の設定は必要無いように思います。
なお、同じエラーがログ出力されていますか?
|
duyanh419 |
投稿日時: 2012/7/31 16:47
対応状況: −−−
|
半人前 登録日: 2012/6/25 居住地: 投稿: 30 |
Re: Config send mail in ec-cube Full Config:
define('MAIL_BACKEND', 'mail'); define('SMTP_HOST', 'smtp.gmail.com'); define('SMTP_PORT', '587'); define('SMTP_USER', 'xxxxxxx@gmail.com';); define('SMTP_PASSWORD', 'xxxxxxxx'); But in file log it show send mail at port 25: 2012/07/31 16:46:22 [/ecsite/html/shopping/confirm.php] Warning(E_WARNING): mail() [<a href='function.mail'>function.mail</a>]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() on [D:\wamp3\www\ecsite\data\module\Mail\mail.php(153)] from 127.0.0.1 customer_id = 3 Hix! |
seasoft |
投稿日時: 2012/7/31 17:01
対応状況: −−−
|
神 登録日: 2008/6/4 居住地: 投稿: 7367 |
Re: Config send mail in ec-cube MAIL_BACKEND は、smtp に変更する必要があります。
define('MAIL_BACKEND', 'smtp');
|
(1) 2 » |
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | トップ |