SMTP Issue, gmail Posted by jared 06 Jan 2011 21:38 UTC I'm using tiki 6.1, and trying to enable webmail through gmail servers. My error reads as follows: Unable to send mailArray ( 0 => EHLO command failed, output: 1 => Not connected! ) I've tried the various AUTHENTICATION methods, in combination with gmail recommended ports. Ideas?
Posted by vigb 05 May 2011 08:36 UTC On Windows 2003 Server x86 I solved the problem using MSMTP. This is a current sendmail clone. C:\Documents and Settings\All Users\Application Data\msmtprc.txtCopy to clipboardaccount gmail host smtp.gmail.com port 587 auth on user us...@do... password PaSsWoRd tls on tls_starttls on tls_certcheck off from us...@do... maildomain domain.com logfile C:/wamp/logs/msmtp.log account default : gmail php.iniCopy to clipboard[mail function] ; For Win32 only. ; http://php.net/smtp SMTP = smtp.gmail.com ; http://php.net/smtp-port smtp_port = 587 ; For Win32 only. ; http://php.net/sendmail-from sendmail_from = us...@do... ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ; http://php.net/sendmail-path sendmail_path = C:/wamp/tools/msmtp-1.4.24-w32/msmtp.exe -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-Originating-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 = C:/wamp/logs/mail.log