Page 1 of 1

need help with SMTP

Posted: Sat Jan 13, 2018 6:33 am
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

Re: need help with SMTP

Posted: Sat Jan 13, 2018 12:01 pm
by Thorsten
Hi,

you can use the builtin SMTP support of phpMyFAQ.

bye
Thorsten

Re: need help with SMTP

Posted: Sat Jan 13, 2018 9:36 pm
by Spyder13337
can you please verify if the info below is correct
because it now working

thank you

Re: need help with SMTP

Posted: Sun Jan 14, 2018 9:07 pm
by Spyder13337
anything ?