SMTP authentication and PHP on a contact us webpage

SMTP authentication and PHP on a contact us webpage

Postby gabe » Tue Mar 06, 2012 11:54 pm

We are running an Apache webserver on the Mac OS and AMS 2.7.1 on a Windows XP machine. One of our clients has a contact us page programmed with PHP. The email is being sent out of our system to a different provider. The programming works fine if SMTP authentication is off, but when it is turned on the email generated by the programming does not get past our server. Any suggestions?
gabe
 
Posts: 5
Joined: Fri Feb 01, 2008 4:32 am

Re: SMTP authentication and PHP on a contact us webpage

Postby Code Crafters » Wed Mar 07, 2012 8:35 am

You must have SMTP authentication enabled otherwise you'l be an open relay and anybody can SPAM via your mail server. You should add the website's Internet IP to the SMTP Relaying Access tab under Relaying Safe IPs and this will allow the IP to always have relaying access without needing to login via SMTP authentication. Or you can change the code that sends the email to log into SMTP authentication but adding the IP to the mail server is usually easier.
Code Crafters
 
Posts: 933
Joined: Mon Sep 10, 2007 2:35 pm


Return to General

Who is online

Users browsing this forum: No registered users and 10 guests

cron