HighDots Forums  

Please help with FormMail

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Please help with FormMail in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JLI
 
Posts: n/a

Default Please help with FormMail - 11-09-2004 , 01:14 PM






I am using FormMail V1.91 to submit results of a simple form to my email, as
was given to m eby my ISP. Unfortunatley, their support is terrible, and I was
hoping someone else could help. When I submit the form, I get an internal
server error. The only thing my ISP would tell me is that the error was in the
@recipients line. Here is the code that I changed in the script, according to
what my ISP told me to: $mailprog = '/usr/sbin/sendmail -i ?t ?f
jennifer (AT) brooksstevens (DOT) com'; @referers = ('brooksstevens.com',
'www.brooksstevens.com'); @recipients = ('^jennifer\@brooksstevens\.com');
@valid_ENV = ('REMOTE_HOST','REMOTE_ADDR','REMOTE_USER','HTTP_U SER_AGENT');
In my HTML form: <form name='survey' method='POST'
action='../cgi-bin/FormMail.pl'> <input type=hidden name='recipient'
value='jennifer (AT) brooksstevens (DOT) com'> The form is at
www.brooksstevens.com/survey2.html I appreciate any suggestions - this is
driving me crazy!!!


Reply With Quote
  #2  
Old   
Osgood
 
Posts: n/a

Default Re: Please help with FormMail - 11-09-2004 , 01:33 PM






When I used formmail I didnt fill recipients in, just left it as this:


@recipients = &fill_recipients(@referers);








JLI wrote:

Quote:
I am using FormMail V1.91 to submit results of a simple form to my email, as
was given to m eby my ISP. Unfortunatley, their support is terrible, and I was
hoping someone else could help. When I submit the form, I get an internal
server error. The only thing my ISP would tell me is that the error was in the
@recipients line. Here is the code that I changed in the script, according to
what my ISP told me to: $mailprog = '/usr/sbin/sendmail -i ?t ?f
jennifer (AT) brooksstevens (DOT) com'; @referers = ('brooksstevens.com',
'www.brooksstevens.com'); @recipients = ('^jennifer\@brooksstevens\.com');
@valid_ENV = ('REMOTE_HOST','REMOTE_ADDR','REMOTE_USER','HTTP_U SER_AGENT');
In my HTML form: <form name='survey' method='POST'
action='../cgi-bin/FormMail.pl'> <input type=hidden name='recipient'
value='jennifer (AT) brooksstevens (DOT) com'> The form is at
www.brooksstevens.com/survey2.html I appreciate any suggestions - this is
driving me crazy!!!



Reply With Quote
  #3  
Old   
nekkochan
 
Posts: n/a

Default Re: Please help with FormMail - 11-09-2004 , 02:00 PM



<form name='survey' method='POST' action='../cgi-bin/FormMail.pl'> probably
wont do it. --- you need a full addy in there, probably with the name of your
hosting company in it, like this: <form
action='http://formmail.YOURWEBHOST.com/cgi-bin/formmail.cgi' method='POST'>
- my advice, go to the website of whatever company hosts your site, and look
for a form, then view the source and see what their action says...


Reply With Quote
  #4  
Old   
.: Nadia :TMM :.
 
Posts: n/a

Default Re: Please help with FormMail - 11-09-2004 , 09:39 PM



Take a look here, explains all the arrays for your formmail script.
http://www.scriptarchive.com/readme/formmail.html

'^jennifer\@brooksstevens\.com'

Are you sure the above is correct? some funny looking stuff in there....

--
Nadia
---------------
http://www.DreamweaverResources.com
Free Templates | Free Nav Bar Sets
Dropdown Menu Designs | CSS Layouts
Tutorials | Ecommerce - YVStore | SEO Articles|
------------------------------------------------
Team Macromedia Volunteer for Dreamweaver
http://macromedia.com/devnet/mx/dreamweaver/
http://www.macromedia.com/support/dreamweaver/technotes.html
-----------------

"JLI" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I am using FormMail V1.91 to submit results of a simple form to my email,
as
was given to m eby my ISP. Unfortunatley, their support is terrible, and I
was
hoping someone else could help. When I submit the form, I get an internal
server error. The only thing my ISP would tell me is that the error was
in the
@recipients line. Here is the code that I changed in the script,
according to
what my ISP told me to: $mailprog = '/usr/sbin/sendmail -i ?t ?f
jennifer (AT) brooksstevens (DOT) com'; @referers = ('brooksstevens.com',
'www.brooksstevens.com'); @recipients = ('^jennifer\@brooksstevens\.com');
@valid_ENV =
('REMOTE_HOST','REMOTE_ADDR','REMOTE_USER','HTTP_U SER_AGENT');
In my HTML form: <form name='survey' method='POST'
action='../cgi-bin/FormMail.pl'> <input type=hidden name='recipient'
value='jennifer (AT) brooksstevens (DOT) com'> The form is at
www.brooksstevens.com/survey2.html I appreciate any suggestions - this is
driving me crazy!!!




Reply With Quote
  #5  
Old   
JLI
 
Posts: n/a

Default Re: Please help with FormMail - 11-10-2004 , 09:50 AM



Originally posted by: Newsgroup User Take a look here, explains all the arrays
for your formmail
script.<BR>http://www.scriptarchive.com/readme/formmail.html<BR><BR>'^jennifer\@
brooksstevens\.com'<BR><BR>Are you sure the above is correct? some funny
looking stuff in there....<BR><BR>-- <BR>Nadia<BR>----------- I think it is
correct - it came from that same FormMail help site. However, I replaced it
with @recipients = &amp;fill_recipients(@referers); anyway. My ISP, Interland,
had me change the sendmail line to $mailprog = '/usr/sbin/sendmail
jennifer (AT) brooksstevensi (DOT) com'; And now the form will submit, except that I
never receive the email, it goes into a dead letter file on my server. I'm
thinking it may have something to do with the fact that I am using Micorsoft
Exchange server here for email?


Reply With Quote
  #6  
Old   
JLI
 
Posts: n/a

Default Re: Please help with FormMail - 11-10-2004 , 09:52 AM



But I had to modify the FormMail.pl according to their instructions and put it in my cgi-bin, so wouldn't I have to call it from my own site?

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.