config SMTP mail

All about webserver configurations, PHP and databases.

Moderators: jason102178, Florian, Thorsten, JochenS

config SMTP mail

Postby hans9 » Sat Jan 01, 2011 7:45 pm

Hi,

Just installed PHPMyFAQ. It works. :)
But It ought to be possible to send mail to the users. So I want to use the SMTP server of my ISP provider using i.e. smtp.xyz.com

How to configure this?

Thanks.

Hans.
hans9
 
Posts: 16
Joined: Sat Jan 01, 2011 6:49 pm

Re: config SMTP mail

Postby Thorsten » Sat Jan 01, 2011 8:57 pm

Hi,

you can do this directly in your PHP settings, currently not in phpMyFAQ. phpMyFAQ uses the plain PHP mail() function.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
 
Posts: 12197
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq

Re: config SMTP mail

Postby hans9 » Sat Jan 01, 2011 11:01 pm

Thanks,

PHP PEAR was missing.

I've installed this but what/where to put the SMTP and authentication data?

I've found some examples explaining how to write my own PHP scripts with mail() but none about where to put what in combination with i.e. phpMyFAQ?
hans9
 
Posts: 16
Joined: Sat Jan 01, 2011 6:49 pm

Re: config SMTP mail

Postby hans9 » Sun Jan 02, 2011 5:41 am

Hi,

What should be filled inin the php.ini file?

found in /usr/share/php/mail.php and smtp.php also the authentication settings. But that didn't solve the problem.

any suggestions?
hans9
 
Posts: 16
Joined: Sat Jan 01, 2011 6:49 pm

Re: config SMTP mail

Postby Thorsten » Sun Jan 02, 2011 11:10 am

Hi,

you can patch this file:

https://github.com/thorsten/phpMyFAQ/bl ... uiltin.php

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
 
Posts: 12197
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq

Re: config SMTP mail

Postby hans9 » Sun Jan 02, 2011 3:15 pm

Hi,

thank for the patch.

I've installed sendmail. Don't know why but I can send myself a (pasword) mail.
hans9
 
Posts: 16
Joined: Sat Jan 01, 2011 6:49 pm

Re: config SMTP mail

Postby Thorsten » Sun Jan 02, 2011 3:18 pm

Hi,

if you have sendmail everything should work out of the box. PHP's mail() function uses sendmail by default.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
 
Posts: 12197
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq

Re: config SMTP mail

Postby Clemendo » Mon Nov 26, 2012 7:08 pm

Thorsten wrote:Hi,

you can patch this file:

https://github.com/thorsten/phpMyFAQ/bl ... uiltin.php

bye
Thorsten

This helped a lot. I just send it to an user who had the same problem. :)
Clemendo
 
Posts: 23
Joined: Mon Sep 24, 2012 1:02 pm


Return to Webserver and configuration

Who is online

Users browsing this forum: No registered users and 1 guest