All email notifications not working

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
badams
Posts: 9
Joined: Fri Jan 17, 2014 10:34 pm

All email notifications not working

Post by badams »

Hello,

I've just installed phpMyFAQ 2.8.5 and everything is working great except I'm not receiving any type of email notifications. Does anyone know how I might go about resolving this issue?

phpMyFAQ Version: 2.8.5
Server Software: Microsoft-IIS/7.0
PHP Version: 5.3.19
Webserver interface: CGI-FCGI
PHP Extensions: Core, bcmath, calendar, ctype, date, ereg, filter, ftp, hash, iconv, json, mcrypt, SPL, odbc, pcre, Reflection, session, standard, mysqlnd, tokenizer, zip, zlib, libxml, dom, PDO, openssl, SimpleXML, wddx, xml, xmlreader, xmlwriter, cgi-fcgi, mysql, mysqli, mbstring, gd, gettext, curl, exif, Phar, soap, pdo_mysql, pdo_sqlite, imap, tidy, wincache, mhash

Thank you very much in advance!

Blake
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: All email notifications not working

Post by Thorsten »

Hi,

how did you configured your mail functionality in PHP? We just use the plain mail() function from PHP.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
badams
Posts: 9
Joined: Fri Jan 17, 2014 10:34 pm

Re: All email notifications not working

Post by badams »

Hi Thorsten,

Thank you for your reply. I'm still new to PHP so I'm not entirely sure how I have the mail functionality configured. Would I find this somewhere in php.ini?

Sincerely,
Blake
badams
Posts: 9
Joined: Fri Jan 17, 2014 10:34 pm

Re: All email notifications not working

Post by badams »

I see the following within PHP.ini, not sure if this helps

[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25

; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = me@example.com

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
;sendmail_path =

; 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

; The path to a log file that will log all mail() calls. Log entries include
; the full path of the script, line number, To address and headers.
;mail.log =
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: All email notifications not working

Post by Thorsten »

Hi,

right, if you're on Windows that's the configuration to get e-mail working on PHP

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
badams
Posts: 9
Joined: Fri Jan 17, 2014 10:34 pm

Re: All email notifications not working

Post by badams »

Unfortunately I'm still not having much luck, I'm on Windows and so far I've updated this section of php.ini:

[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25

; For Win32 only.
; http://php.net/sendmail-from
sendmail_from = me@example.com

I changed 'SMTP = localhost' to my actual smtp server. I also set 'sendmail_from' to my email address. My phpinfo.php files shows the changes are being read but I'm still not receiving email notifications from phpMyFAQ.

Any ideas on what I'm missing? Thank you
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: All email notifications not working

Post by Thorsten »

Hi,

did you tried it with a simple mail() script?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
badams
Posts: 9
Joined: Fri Jan 17, 2014 10:34 pm

Re: All email notifications not working

Post by badams »

I have tested a few simple mail() scripts without success. Our IT department tells me our smtp server requires authentication, is this a problem with phpMyFAQ?

Thanks again
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: All email notifications not working

Post by Thorsten »

Hi,

yes, phpMyFAQ currently does not support SMTP Auth.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
badams
Posts: 9
Joined: Fri Jan 17, 2014 10:34 pm

Re: All email notifications not working

Post by badams »

I have tested a few simple mail() scripts without success. Our IT department tells me our smtp server requires authentication, is this a problem with phpMyFAQ?

Thanks again
badams
Posts: 9
Joined: Fri Jan 17, 2014 10:34 pm

Re: All email notifications not working

Post by badams »

Sorry for the duplicate posting, was trying to post the following response to your last msg:

Are there any known ways to work around this issue? Our mail hosting company will not provide smtp without authentication due to their security/spam policies. I absolutely love the functionality in phpMyFAQ but without email notifications it'll be difficult for anyone using it.

Thanks
ChrisA
Posts: 12
Joined: Wed Jan 01, 2014 1:59 pm

Re: All email notifications not working

Post by ChrisA »

Maybe the phpmyFAQ core could be modified to use PHPMailer. I willl have a peek on my days off.

Also, check out some other free hosting. You could sign up to one that gives an email without authorization. Then forward its mail to your real mail account.
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: All email notifications not working

Post by Thorsten »

Hi,

our mail class is expansible, currently it's only a wrapper class around mail(). Something like PHPMailer could be included.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply