need help with SMTP

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Post Reply
Spyder13337
Posts: 12
Joined: Mon Nov 27, 2017 6:24 pm

need help with SMTP

Post by Spyder13337 »

i have install ver 2.99 on centos 6.9
but inoitce i cant send email request for new user or forget password i did verify that i have php-pear install and i am using php 5.6
i am able send using sendmail in php but i do not recieved any thing from UI

any help will be appricated

server address = smtp.gmail.com
username = noc.system.monitoring@gmail.com
password = xxxxxx

is this correct ?


this is all i see in the log files
sendmail[5757]: w0D4lapr005757: from=root, size=0, class=0, nrcpts=0, relay=root@localhost


here is the php seeting from php.ini

[mail function]
; For Win32 only.
; http://www.php.net/manual/en/mail.confi ... p#ini.smtp
SMTP = smtp.gmail.com
; http://www.php.net/manual/en/mail.confi ... .smtp-port
smtp_port = 25

; For Win32 only.
; http://www.php.net/manual/en/mail.confi ... dmail-from
sendmail_from = noc.system.monitoring@gmail.com

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://www.php.net/manual/en/mail.confi ... dmail-path
sendmail_path = /usr/sbin/sendmail -t -i

; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =

; Add X-PHP-Originaiting-Script: that will include uid of the script followed by the filename
mail.add_x_header = On

; Log all mail() calls including the full path of the script, line #, to address and headers
;mail.log = /var/log/maillog
Thorsten
Posts: 15559
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: need help with SMTP

Post by Thorsten »

Hi,

you can use the builtin SMTP support of phpMyFAQ.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Spyder13337
Posts: 12
Joined: Mon Nov 27, 2017 6:24 pm

Re: need help with SMTP

Post by Spyder13337 »

can you please verify if the info below is correct
because it now working

thank you
You do not have the required permissions to view the files attached to this post.
Spyder13337
Posts: 12
Joined: Mon Nov 27, 2017 6:24 pm

Re: need help with SMTP

Post by Spyder13337 »

anything ?
Post Reply