|
| A R C H I V E D M E S S A G E |
|
Subject: Mail seems sent, but never arrives |
| Posted: 05/30/2003 at 8:08:50 pm |
| By: Bobb Menk |
| I can send mail using the sample form (form.html) in the download package, and I can send it using other simple perl scripts designed to test net::smtp, but I can't make it send a more complex form.
The permissions are all set the same way, so that shouldn't be the problem. Net::SMTP is working or it wouldn't ever send anything.
The Apache logs don't show an error, they show apparent success for any of the forms. but the mail from the more complex form never arrives.
Any ideas greatly appreciated. Saving the data to a comma-delimited file was exactly what I need, so I'm reluctant to look for a different script...
The action and name/value tags look like this:
This one works:
action= | |
|
|
Subject: Re: Mail seems sent, but never arrives |
| Posted: 05/30/2003 at 8:09:06 pm |
| By: Bobb Menk |
| Sorry to have cut off the name value pairs - I thought taking them out of the input tags would let them through, but obviously not. What character should I use to comment them out so they can be read?
Bobb Menk
| |
|
|
Subject: Re: Mail seems sent, but never arrives |
| Posted: 06/02/2003 at 8:09:26 pm |
| By: Seth Knorr |
| Where is the form that you are running, what URL?? The problem you are having is probably just a missing hidden field.
Seth
| |
|
|
Subject: Re: Mail seems sent, but never arrives |
| Posted: 06/02/2003 at 8:09:48 pm |
| By: Bobb Menk |
| The server's inside the firewall so you won't be able to see it I'm afraid.
Here are my settings:
In bizmail.cgi:
useLib is smtp
smtp is our smtp host
cfg_email_onform = "1"
datafile="bizmail.dat"
okurls and okemails are set to 0
this is not using an attachment
In the form:
sendreply =0
subject set to an appropriate subject
success page is working fine
cc_to is set to a vaild email addres
send_to is set to my email address
datafile is working ok
required fields variable has been commented out
| |
|
|
Subject: Re: Mail seems sent, but never arrives |
| Posted: 06/02/2003 at 8:10:09 pm |
| By: Bobb Menk |
| I turned on send reply and sent a message which I received and then turned it off again and commented out the required fields and it works. Not sure why that would fix it, but if it works....
Thanks for the help.
Bobb Menk
| |
|
|
Subject: Re: Mail seems sent, but never arrives |
| Posted: 06/02/2003 at 8:10:25 pm |
| By: Bobb Menk |
| The hidden field it continues to require is "email"
If I put in a dummy email in a hidden input, the form will work. If I don't put one in, it will take the data but not send email. Is there a way around having to require a hidden email by taking out some lines in bizmail.cgi?
Thanks for your help.
Bobb Menk | |
|
|
Subject: Re: Mail seems sent, but never arrives |
| Posted: 06/02/2003 at 8:10:48 pm |
| By: Seth Knorr |
| There is, The reason it is required however is because you have sendreply set to 1, and this is where the autoresponse will go to. If you set autoresponse to 2 it will no longer require an email.
Seth
| |
|
|
Subject: Re: Mail seems sent, but never arrives |
| Posted: 06/03/2003 at 8:10:37 pm |
| By: Bobb Menk |
| Per the readme I set sendreply to 0 and still could not get it to send with a hidden dummy email. I tried setting it to 2 per your message here with the same result. It still will not send without a hidden email in the form. Any further suggestions?
Thanks.
Bobb Menk
| |
|
|