PDA

View Full Version : cgi mailform (common issue)



Eyeball
April 17th, 2003, 08:49 PM
hi there
i have set up mail form for my website so users can email right from my website and i am using perl mailform.pl for mail form , it seems that everything works fine except i don't receive any mail
any suggestions:

bellow is a code for my AS i thought maybe there is something to do with it .

userComments = new LoadVars();
userComments.onLoad = function(success) {
if (success) {
gotoAndStop("output");
} else {
gotoAndStop("error");
}
};
function sendComments() {
var obj = userComments;
obj.from = fromEmail.text;
obj.name = fromName.text;
obj.to = "mymail@msn.com";
obj.subject = "comments";
obj.comments = comments.text;
userComments.sendAndLoad("http://mysite.com/cgi-bin/formmail.pl", userComments, "POST");
gotoAndStop("wait");
}


______________________________________________


thank you very much

abzoid
April 17th, 2003, 11:51 PM
I can't say if there are any bugs in your AS, but there may be a separate issue with the cgi script.

Most mail servers are setup so that either the sender or the recipient MUST be on a list of allowed domains. That list usually consists of the domains hosted by that ISP. This is done to prevent the use of the mail server as a relay for spam. Since the FROM address in your AS is a variable entered by the user you'll need to make sure that the TO address is on the allowed list.

neverrain
April 18th, 2003, 07:00 PM
Hello,

I have a mail form.

http://web.thinkcia.com/~calypso/MailForm.swf

I made it in flash. If you want the FLA just ask.

Cheers,

Billy

netrix
March 25th, 2005, 12:49 PM
Hello,

I have a mail form.

http://web.thinkcia.com/~calypso/MailForm.swf

I made it in flash. If you want the FLA just ask.

Cheers,

Billy

hey man...I know this post its pretty old but i need help ASAP... so can u help me??

netrix
March 25th, 2005, 12:51 PM
btw its on cgi rght??

netrix
March 25th, 2005, 05:41 PM
anyone?

amps7
April 2nd, 2005, 04:58 PM
im havin the exact same problem,the whole process of sending the data to the php script works but i dont get any email.Does the php script need 2 be in the cgi-bin?

amps7
April 14th, 2005, 05:49 PM
anyone?