Solved

enquiry form results working elsewhere but not reaching clients microsoft exchange server

Posted on 2008-10-20
2
245 Views
Last Modified: 2013-12-13
The enquiry form and (tectite) mail script itself are working perfectly and I receive a copy at any other address I care to use - unfortunately any recipients of my client dont get through their exchange mail server or even show up in the logs according to their IT.

I've tried setting up my own really basic php mail including this:
mail($to, $subject, $body, "From: $mailfrom", "-f $mailfrom")
along with:
$mailfrom = "one of my clients email addresses here";
and also tried the similar options in tectite's script - but still none get through to them.

I have maintained that this is likely to be an issue with their exchange server settings or spam setup which I don't have access to. I don't have any knowledge or experience with mail servers beyond setting up the enquiry forms and haven't had this problem before. Help!..

Advice on likely causes or ways to avoid the possibility of it being treated as spam?
many thanks
0
Comment
Question by:freshwaterwest
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 17

Accepted Solution

by:
psimation earned 500 total points
ID: 22761639
Using PHP's mail() function is not such a good idea anymore, since it simply passes the mail off to sendmail, so your PHP mail gets sent by the default sendmail setup and more often than not, your "apache" user.

using the -f flag is even worse nowadays, because the headers get marked - (enveloped changed).

So, it is most likely that your mail is being trapped by spam filters.

I suggest you rather use a php mailer class that sends mail directly through a properly authenticated smtp server - so that the mail is basically the same as if you sent it via Outlook.


http://sourceforge.net/projects/phpmailer/     
0
 

Author Closing Comment

by:freshwaterwest
ID: 31507803
great thanks, I'll use this method from now on, once I've had a chance to read-up on the settings etc.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Server adapter cards 3 56
ups battery backup calculator 3 57
Form not executing correctly 1 28
Advice on adding/replace drive for Dell PowerEdge 4 33
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question