Jet Posted November 30, 2009 Share Posted November 30, 2009 如题,我在安装prestashop时,由于当时没有设置smtp服务器,然后我就没填smtp设置,我原本想只要有邮箱地址,用php自带的email函数也照样能发送,可是后来发现不行,而且都不知道在哪里设置smtp了。我的Version 1.2.0.6, mysql5.0,xmapp后台也设置了 php 发送邮件,但是我在contact form发送邮件时提示下面错误,错误提示如下:Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in \wwwroot\tools\swift\Swift\Plugin\MailSend.php on line 160。我不知道是否要重新安装,那样太麻烦了。不知道哪位高手有此类经验,拜托跟我说说,谢谢。 Link to comment Share on other sites More sharing options...
bin70 Posted December 1, 2009 Share Posted December 1, 2009 你是在本地(localhost)发邮件还是上传到服务器上。localhost一般是不能发邮件的。 Link to comment Share on other sites More sharing options...
Jet Posted December 1, 2009 Author Share Posted December 1, 2009 不是,是在服务器上。用php发送,是不是我没有设置发送邮箱的密码呢?还是其他原因。如果是,可是也并没有找到设置密码的地方。搞不懂为什么?希望有人能够指教,感激不尽! Link to comment Share on other sites More sharing options...
bin70 Posted December 1, 2009 Share Posted December 1, 2009 那可能是你的买的空间的问题。看看那你的空间支持邮件功能有好几个朋友都出这个问题。不能发邮件,他们的空间超便宜,所以很有可能就 是空间问题。我用的安装没有配置,传到服务器上不用配置,按原来默认的,看都不看。能发邮件(不过安装时候邮件地址必须填写对)。 Link to comment Share on other sites More sharing options...
Jet Posted December 1, 2009 Author Share Posted December 1, 2009 好的,谢谢!我问问供应商,也许就是他们那边的问题了。再次谢谢了。 Link to comment Share on other sites More sharing options...
bin70 Posted December 1, 2009 Share Posted December 1, 2009 嘿嘿,不用客气,我也是prestashop爱好者。 Link to comment Share on other sites More sharing options...
21846657 Posted December 2, 2009 Share Posted December 2, 2009 Back Office >> Preferences >> Email 设置php或smtp发信如果问题解决,请修改标题。谢谢! Link to comment Share on other sites More sharing options...
Jet Posted December 2, 2009 Author Share Posted December 2, 2009 还没有解决,呵呵,我的服务器供应商说没有限制php程序发信,所以我想应该还是在程序上某个环节出问题了。我打算用其它发信程序做一下测试,如果ok的话,那么就能可以证明是否是程序的问题了。 Link to comment Share on other sites More sharing options...
Jet Posted December 3, 2009 Author Share Posted December 3, 2009 OK,服务器托管商说 不允许修改php.ini。所以无法调用php的email函数。可是呢,我还是无法在prestashop的后台找到设置email账号和密码的地方。我想可能是要在程序里面写死才行吧。 Link to comment Share on other sites More sharing options...
Naraka Posted December 5, 2009 Share Posted December 5, 2009 OK,服务器托管商说 不允许修改php.ini。所以无法调用php的email函数。可是呢,我还是无法在prestashop的后台找到设置email账号和密码的地方。我想可能是要在程序里面写死才行吧。 后台:Preferences/Email选择: Set my own SMTP parameters. For advanced users ONLY Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now