This topic is locked
[SOLVED]

  Email settings

9/15/2010 8:35:32 AM
PHPRunner General questions
J
jasonfrew author

Hi all
i have installed Phprunner but at the point of install i didn't configure the email settings.
My application now requires an email to be sent when a new record is added. this is easy enough to configure the event, however it wont send an email as it doesnt know how to connect to my smtp server
my php.ini file shows
[mail function]

; For Win32 only.

; http://php.net/smtp

SMTP = smtp.gmail.com

; http://php.net/smtp-port

smtp_port = 587
where do i put the username and password for the account to allow the smtp server to relay the message
I am using Sql srever 2005, wamp web server on windows, and phprunner 5.2 build 5482 and php 5.3.0
Kind regards
Jason

Admin 9/15/2010

Jason,
you cannot make PHP send emails via Gmail SMTP modifying php.ini file.
Here are possible workarounds:

  1. Install sendmail

    Detailed instructions: http://digiex.net/computing-section/guides-tutorials/544-configuring-php-under-windows-use-gmail-external-smtp-server-ssl.html
  2. Use PEAR:

    http://stackoverflow.com/questions/712392/send-email-using-gmail-smtp-server-from-php-page
    or PHPMailer:

    http://www.110mb.com/forum/howto-send-emails-using-phpmailer-and-gmail-t14144.0.html
  3. Wait till PHPRunner 5.3 is released that's will be supporting Gmail SMTP

J
jasonfrew author 9/16/2010



Jason,
you cannot make PHP send emails via Gmail SMTP modifying php.ini file.
Here are possible workarounds:

  1. Install sendmail

    Detailed instructions: http://digiex.net/computing-section/guides-tutorials/544-configuring-php-under-windows-use-gmail-external-smtp-server-ssl.html
  2. Use PEAR:

    http://stackoverflow.com/questions/712392/send-email-using-gmail-smtp-server-from-php-page
    or PHPMailer:

    http://www.110mb.com/forum/howto-send-emails-using-phpmailer-and-gmail-t14144.0.html
  3. Wait till PHPRunner 5.3 is released that's will be supporting Gmail SMTP


Send mail option works perfectly
Thanks