• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Formmail, cgi and mail forwarding wierdness. Need help :\

eno-on

[H]ard|Gawd
Joined
Feb 20, 2005
Messages
1,114
OK, long story short.
Two form mail pages. Both using the same script. Both send to same email address. that email address forwards to another email address, Only one will actually get to its final destination. If, however, you tell it to forward to two email adresses, one will go to one, and one the other. Always the same ones, but neither to both.
WTF is going on, and let me know if you need more info.
 
Is the mail server playing a role? Could it be that the mail server is seeing two emails going to the smae place from the same place at the same time, and treating one as spam?

Just guessing.

 
I don't think so.

fkup.jpg


See, both form mail pages use the same formmail cgi thingy. Both pages have the same email recipient as well, mailbox A.
mailbox A is set to forward EVERYTHING it getas to mailbox B and mailbox C.
However, in the case of these two pages, info from Form Mail #1 only gets forwarded to mailbox B, while ionfo from Form Mail #2 only gets forwarded to mailbox C.

So whats going on here?
from Form Mail #1
Code:
<FORM METHOD=POST ACTION="http://xxxxx.com/cgi-bin/formmail.cgi">
    <input type=hidden name="recipient" value="anna@xxxxx.com">
    <input type=hidden name="subject" value="Marketing Lists Blast">
    <input type=hidden name="required" value="name,email">
    <input type=hidden name="print_blank_fields" value="1">
    <input type=hidden name="return_link_url" value="http://xxxxx.com/">
	<input type=hidden name="return_link_title" value="Back to Main Page">

From Mail #2
Code:
<FORM METHOD=POST ACTION="http://xxxxx.com/cgi-bin/formmail.cgi">
  	<input type=hidden name="recipient" value="anna@xxxxx.com">
    <input type=hidden name="subject" value="subscribe or unsubscribe">
	<input type=hidden name="required" value="fname,lname,interest,email1">
	<input type=hidden name="sort" value="fname,lname,email1,status,interest,mailer,status2,mailing,comments">
	<input type=hidden name="print_blank_fields" value="1">
	<input type=hidden name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT">
	<input type=hidden name="return_link_url" value="http://xxxxx.com/">
	<input type=hidden name="return_link_title" value="Back to Main Page">
 
So then it sounds like the problem isn't with your code, but possibly with your email client?

 
Yes, I sort of figured that. I wanted to make sure i wasn't missing something obvious in teh formmail pages or the cgi script first, though.
Thanks.
 
No prob. I don't see what if could be other than client side. Have fun with that problem though. :D

 
Back
Top