On Thu, 2010-12-09 at 19:06 +0000, Ashley Sheridan wrote: > On Thu, 2010-12-09 at 14:03 -0500, TR Shaw wrote: > > > On Dec 9, 2010, at 1:36 PM, Marc Fromm wrote: > > > > > We have web forms that send the user an email confirmation after submission, like most forms do. > > > The emails are being delivered to the users' junk folder. The main campus IT staff claim it is because our server is sending the emails. > > > The campus is using Microsoft exchange servers. I am using Red Hat Linux, sendmail, and PHP. Is there a way to give php the exchange server's ip address and have the emails from my php forms be sent from the exchange server? > > > > > > Marc > > > > Use phpmailer. > > > > Tom > > > Would that stop the email being seen as spam? Depending on the root > issue, probably unlikely, as there are countless reasons an email could > be seen as spam, the majority of which wouldn't be fixed by something > like phpmailer. > If it were me, I'd use something like PHPMailer with SMTP Authentication, which then the email comes from the "MailServer" rather than the "WebServer" if they are 2 separate machines. That COULD solve the issue there, but as Ash said, if it has "spammy" words in it, it wouldn't make any difference then. Try using the "-f" flag with the PHP mail(), and if that doesn't work, then try a 3rd party class such as PEAR::Mail, or PHPMailer. Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php