http://www.example.com/form.html
There are 2 addresses the submitted e-mail should be going to. One address, #*$!x@yahoo.com, is receiving the e-mails just fine. The other, #*$!x@aol.com, is not. I have them both set up here:
@referers = ('example.com','xx.xx.xx.xx','example.com','aol.com','yahoo.com');
I really am at a loss as to why one would and the other would not receive the submitted e-mails. We have checked all the folders, junk spam, etc. nothing.
Any help would be appreciated!
Thanks!
[edited by: phranque at 1:03 am (utc) on Feb. 21, 2009]
[edit reason] exemplified urls & ip [/edit]
<form action="http://example.com/cgi-bin/FormMail.pl" method="POST" id="Site Form">
<fieldset>
<ol>
<li>
<input type="hidden" name="recipient" value="#*$!x@yahoo.com,#*$!x@aol.com">
<input type="hidden" name="subject" value="E-mail Adress for Site">
<input type="hidden" name="sort" value="order:name,email">
<input type=hidden name="redirect" value="http://example.com/thanks.html">
<label for="name">Name:</label>
<input id="name" name="name" class="text" type="text" />
</li>
<li>
<label for="email">Email Address:</label>
<input id="email" name="email" class="text" type="text" />
</li>
</fieldset>
<fieldset class="submit">
<input class="submit" type="submit"
value="Submit" />
</fieldset>
</form>
[edited by: phranque at 1:02 am (utc) on Feb. 21, 2009]
[edit reason] exemplified urls [/edit]
If it goes through, yes, something's up with your script or configuration.
If it still fails, nothing wrong with the script, AOL is just not accepting it. There could be many reasons, a few could be you're on an IP block that's rejected by AOL, improper SPF records (but Yahoo should kick it on both of these conditions,) a pattern in the mail is being recognized as spam and deleted, improper mail headers (even an invalid date format could cause problems,) or it's just . . . AOL. It may even be possible they are disallowing mail sent by formmail and you can look at the X-Sender headers, if there's an X-Sender header generated by formmail maybe you can change it (speculation on my part.)
I'm sure there are more, but you get where it's going, figure out whether it's the script or the recipient.
[edited by: rocknbil at 5:19 pm (utc) on Feb. 21, 2009]
i decided to test it out some more... i put all 4 of my e-mail addresses on the script: yahoo, personal, gmail and hotmail... and still included aol for the client. i rec'd the test form at all 4 of mine and the client received nothing. i asked the client for a couple more e-mail addies to try for them. they gave me 2 personal domain specific addresses and an sbcglobal.net address. i sent out another test with her new addresses and mine on there. i received the form per usual and she got nothing to any of hers. could it be something with her ISP? her provider is blocking something on her end?
she gave me a yahoo address and that one worked, but why wouldn't any of her others? all my others worked. my hotmail, gmail and my personal web site. but none of her personal addresses worked, meaning domain specific.
like, she has an e-mail: jphndoe@mydomain.com which doesn't work
but johndoe@yahoo.com does...
but mine johndoe2@mydomain.com does...
Can you send her an email using your regular email to the same address and she gets it? If so, the server you are using to send the emails (where the script is) might be blocked by the other servers that don't accept the emails. There is nothing you can really do about that.
I've never gotten a straight answer on exactly why this is . . . but it has often led to causes and solutions.
These are the log file names I have found:
#*$!x/200902-udata.unf
#*$!x/200902-hdata.uni
#*$!x.com/200902-hdata.und
#*$!x.com/200902-hdata.uns
#*$!x.com/200902-vdata.uni
#*$!x.com/200902-vdata.und
#*$!x.com/200902-ldata.uni
#*$!x.com/200902-ldata.und
#*$!x.com/200902-sdata.und
#*$!x.com/200902-pdata.und
which of these will tell me the sendmail errors? And what can i use to open them, i am on an intel mac. I used a text editor to open one and it came up garbled.
I am pretty obsessive when it comes to trouble shooting. I just want to figure it out, so that when i run into it again, i can fix it!
If you don't find anything at all in the mail log about an attempt to send these "missing" mails, it tells you, for whatever reason, your script isn't even sending it.
I don't recognize any of those either, check with your system admin what mail program is used by command line scripts and where your mail logs should be.