Help - Search - Members - Calendar
Full Version: Form Mail
MonsterSmallBusiness Forums > MonsterCommerce > How do I?
jabez
Hello, I'm a newbie, I placed a form email on my contact us page, but when I tested it in outlook the message came from 97467@mail.monstercommerce.com how will I make it from Philregalo.com (the name of my site). thanks.

http://www.philregalo.com/index.asp?PageAction=Custom&ID=7
edc
Jabez,

Sorry I don't have the time to review your source code now, but feel free to look at mine.

http://www.cleaningadvisor.com/index.asp?P...CTION=CONTACTUS

My formail arrives as if from the email address they supply. However while I capture their remote IP, note that they could always spoof their identity and email address because there is no actual IP or email address validation is going on prior to receipt.

This isn't a perfect solution, but for a non-programmer in a hurry like me, this 80% solution works.

Hope this helps.
Ed
krazykickz
Hi,

The reason it came from there is because you do did not specify the email address field. Also when a client fills it out it will not show your company name, it will show the persons filling it out email address. When you reply to it, then it will show your company name if you have it set up like that in outlook.
krazykickz
Allso in looking at your code you have two posts. Did you mean for this:

CODE





<form method="POST" action="http://formmail.monstercommerce.com/cgi-bin/ntformmail/ntformmail.pl">

<input type=hidden name="recipient" value="info@philregalo.com">

<input type=hidden name="redirect"value="http://www.philregalo.com/index.asp?PageAction=Custom&ID=27">

<input type=hidden name="subject" value="Info Request">



<div align="center">
<center>
<table border="0"  cellspacing="0">
<tr>
<td width="70%">

<form method="POST" action="http://formmail.monstercommerce.com/cgi-bin/ntformmail/ntformmail.pl">

<input type=hidden name="recipient" value="info@philregalo.com">

<input type=hidden name="redirect"value="http://www.philregalo.com/index.asp?PageAction=Custom&ID=27">

<input type=hidden name="subject" value="Info @ Philregalo">
jabez
Thank you guys, I will check on your form edc and thanks for the input on my error hug.gif krazykickz I will remove the double. But what do you mean I did not specify the email field? how will I do this can you help. Thanks.
jabez
Hello guys, I implemented the codes of EDC thanks, but when I tested it the from email is still in numbers can you guys check thanks. http://www.philregalo.com/index.asp?PageAction=Custom&ID=7
krazykickz
Are you inputting a value for the email field when you fill it out? If not it will return like that. If you are entering a return email when filling out the form, please post your code here so we can take a look at it.

jabez
ok here are the codes...where will i put email field.

<br><br><center>
<img src="images/contactuspagelogo.jpg"> <br><br>
</center>
<TABLE cellSpacing=0 cellPadding=5 width=450 align=center bgColor=#ffffff border=1>
<TBODY>
<TR>
<TD align=middle bgcolor=#D6DAA7><FONT face=Verdana color=#000000><B>Please use this form to Email Us</B></FONT></TD></TR>
<TR>
<TD align=left><FONT face=Verdana color=#000000 size=2><B>Have a question, comment, suggestion or concern?</B> Please let us know what you think -or- how we can serve you better.</FONT><BR><BR>
<FORM name="Feedback Form" action=http://formmail.monstercommerce.com/cgi-bin/ntformmail/ntformmail.pl method=post>
<INPUT type=hidden name="recipient" value="info@philregalo.com">
<INPUT type=hidden name="subject" value="Feedback from Website">
<INPUT type=hidden name="redirect" value="http://www.philregalo.com/index.asp?PageAction=Custom&ID=27">
<INPUT type=hidden name="missing_fields_redirect" value="http://www.philregalo.com/index.asp?PageAction=Custom&ID=28">
<INPUT type=hidden name="required" value="email,phone,realname,ContactMeth">
<INPUT type=hidden name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT">
<P><FONT size=2><FONT face=Verdana><STRONG>How may we assist you?</STRONG><BR></FONT></FONT><INPUT
type=radio CHECKED value=Question name=MessageType><FONT face=Verdana size=2>Question </FONT><INPUT type=radio value=Comment
name=MessageType><FONT face=Verdana size=2>Comment </FONT><INPUT type=radio value=Suggestion name=MessageType><FONT
face=Verdana><FONT size=2>Suggestion</FONT> </FONT><INPUT type=radio value=Complaint name=MessageType><FONT face=Verdana
size=2>Complaint </FONT></P>
<P><FONT face=Verdana><FONT size=2><STRONG>What do you want to comment on?</STRONG><BR></FONT></FONT><SELECT size=1
name=Subject> <OPTION selected>Our Web Site</OPTION> <OPTION>Our Products</OPTION> <OPTION>Your Order Status</OPTION>
<OPTION>(Other)</OPTION></SELECT><FONT face=Verdana Size=2>&nbsp;&nbsp;Others:</FONT> <INPUT maxLength=240 size=35 name=SubjectOther></P>
<P><FONT face=Verdana><FONT size=2><STRONG>Please enter your comments in the space provided
below:</STRONG><BR></FONT></FONT><TEXTAREA name=Comments rows=7 cols=56></TEXTAREA></P>
<P><FONT face=Verdana><FONT size=2><STRONG>Please tell us how to get in touch with you:</STRONG></FONT></FONT> <SELECT
size=1 name=ContactMeth> <OPTION selected>Email</OPTION> <OPTION>Phone</OPTION></SELECT><BR><BR>
<TABLE cellSpacing=0 cellPadding=0 width=350 align=center border=0>
<TBODY>
<TR>
<TD width=287><B><FONT face=Verdana size=2>Name&nbsp;</FONT></B></TD>
<TD align=left width=257><INPUT maxLength=256 size=45 name=realname></TD>
<TD><FONT face=Verdana color=#cc0000 size=1>&nbsp;*Required</FONT></TD></TR>
<TR>
<TD><B><FONT face=Verdana size=2>Email&nbsp;</FONT> </B></TD>
<TD align=left width=257><INPUT maxLength=256 size=45 name=email></TD>
<TD><FONT face=Verdana color=#cc0000 size=1>&nbsp;*Required</FONT></TD></TR>
<TR>
<TD width=287><B><FONT size=2><FONT face=Verdana>Phone&nbsp;</FONT> </FONT></B></TD>
<TD width=257><INPUT maxLength=256 size=45 name=phone></TD>
<TD><FONT face=Verdana color=#cc0000 size=1>&nbsp;*Required</FONT></TD></TR>
<TR>
<TD width=287><B><FONT face=Verdana size=2>Invoice#&nbsp;</FONT></B></TD>
<TD align=left width=257><INPUT maxLength=256 size=45 name=realname></TD>
</TR>
</TBODY></TABLE></P>
<P>
<INPUT type=submit value="Click to Submit">&nbsp;&nbsp;&nbsp;
<INPUT type=reset value="Clear Form"></FONT></P></FORM></TD></TR></TBODY></TABLE><FONT face=Verdana><BR><BR>
<TABLE cellSpacing=0 cellPadding=5 width=480 align=center bgColor=#ffffff border=1>
<TBODY>
<TR>
<TD bgcolor=#D6DAA7><FONT size=2><STRONG>If you prefer to contact us via US Postal Mail, do so at:</STRONG></FONT></TD></TR>
<TR><TD></FONT><FONT face=Verdana><FONT size=2>Mail:</FONT>&nbsp;&nbsp;&nbsp;<STRONG><FONT size=2>PhilRegalo.com <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;29280 Wrangler Drive<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Murrieta, CA&nbsp;
92563</FONT><BR></TD></TR></TBODY></TABLE><BR><BR>
<TABLE cellSpacing=0 cellPadding=5 width=480 align=center bgColor=#ffffff border=1>
<TBODY>
<TR><TD bgcolor=#D6DAA7></STRONG><FONT face=verdana size=2><STRONG>Or you may contact us by telephone
at:</TD></TR><TR><TD></STRONG> <center><FONT face=Verdana size=2>TeleFax #:</FONT>

<br><FONT size=2><STRONG>USA (951) 304-9078 9AM - 10PM PST <BR>Manila (632) 696-4749 9AM - 12:00AM Manila Time </STRONG>&nbsp;</FONT></FONT></TD></TR>

</table>
elgarble

Our contact form is here: http://www.men-uusaDOTcom/contact.html

We have the query going to our monstersmile.gif Internet Mail Server. We would like the monstersmile.gif IM to auto respond to the query with a "thank you....we will answer your query shortly.....". However, the autoresponder sends an e-mail to itself (our monstersmile.gif IM e-mail address). Is there a way to code the form so that the IM autoresponds to the consumer who filled out the form?
Thx!
edc
Jabez,
I'll try to think about it later tonite when I have time to see if I can figure anything out.

BTW, if you are either John or Chad (both of whom tested my form in the last week providing largely keystroke strings as data), your email came through fine with the info you provided including return email address and name (as well as IP). I hope this helps.
jabez
Thanks edc, appreciate it, hope you get the time.
edc
Jabez,

I'm sorry for the delay (had a big crisis project at my day job). At any rate, I've spent some time going through your code and nothing jumps out at me as a problem. My only thoughts are that perhaps there is either some type of setup issue within your imail server-side or within your email (i.e. MS Outlook) client. However, these are just a guess.

While I admit I did cobble together my own contact form (from the code of others plus my adaptations) and it seems to work, I'm not an expert on the issue. In this case, it seems you will need an expert.

So I'm afraid all I can recommend is that you put in a ticket or PM one of the monstersmile.gif staff who seem to know about Form Mail. (I saw a post on the topic from Andrea the other day...so you should be able to find it.)

Sorry I couldn't be of more help.
Ed
jabez
Thanks, i'll do that.
akuehnel
jabez -

The reason this is happening is because that is what is set in your personal account options within Imail. Please take a look at this section of the Using The MC Email Server QuickGuide. You will see the instructions how to update the 'Reply To' field.

Please let us know if you have further questions.

Andréa happy.gif
edc
Hey whaddayaknow...I was on the right track. I thought that smelled like a email config issue.
akuehnel
QUOTE(elgarble @ Feb 7 2005, 12:06 AM)
Our contact form is here:  http://www.men-uusaDOTcom/contact.html

We have the query going to our monstersmile.gif Internet Mail Server.   We would like the monstersmile.gif IM to auto respond to the query with a "thank you....we will answer your query shortly.....".  However, the autoresponder sends an e-mail to itself (our monstersmile.gif IM e-mail address).  Is there a way to code the form so that the IM autoresponds to the consumer who filled out the form?
Thx!
[right][snapback]66766[/snapback][/right]



Rather than sending them an email saying that their form was submitted, you could create a "Thank You" page and redirect them to that page.

CODE
Field:  redirect

Description:  If you wish to redirect the user to a different URL, rather than having them see the default response to the fill-out form, you can use this hidden variable to send them to a pre-made HTML page.

Syntax: To choose the URL they will end up at:
<input type=hidden name="redirect" value="http://your.host.com/to/file.html">

To allow them to specify a URL they wish to travel to once the form is filled out:
<input type=text name="redirect">


There IS, however, a way that you could have the Email (Imail) auto respond to these. Here are the steps in which you would need to take:

1. Create a separate email account ONLY for the forms. For example: formsubmit@yourdomain.com

2. Use this email address for the 'recipient' field within your form

3. Create a Vacation Message for this user within the Imail User Settings.
**Once this user is created, you will need to log in as that
**From 'Personal Account Options..' you will select 'Change Vacation Message'
**Enter your Thank You note here and save

Now, test your form submission to ensure that everything is going to the correct place.

Please, let me know if you need further assistance.

Andréa smile.gif
jabez
Thanks Andrea, I went to my personal account options within Imail and the reply to field in changed user info has : support@philregalo.com, I tried submitting the form on my site again at http://www.philregalo.com/index.asp?PageAction=Custom&ID=7 and still when I went to my outlook the result is as follows:

Below is the result of your feedback form. It was submitted by
(7y7676576) on Monday, February 14, 2005 at 20:38:00
---------------------------------------------------------------------------

Name: Test

comment: hgdcghbchbxuh
sdhhudshhuhdsaj
hxshbhxsbxjh,


--------------------------------------
--------------------------------------

Questions:

1. why is the From in numbers and letters? I tried another time and it came from 768278998

2. why am I not getting all info such as email of clients, address, tel number, which is also in my form? only name and comments.


Below are my form codes:

<form method="POST" action="http://formmail.monstercommerce.com/cgi-bin/ntformmail/ntformmail.pl">

<input type=hidden name="recipient" value="support@philregalo.com">
<input type=hidden name="redirect"value="http://www.philregalo.com/index.asp?PageAction=Custom&ID=27">
<input type=hidden name="subject" value="PhilRegalo Web Query">

<table width="540" border="0" cellpadding="0" cellspacing="0">

<tr>
<td width="160"><font size="2">Your Name:</td>
<td width="380"><input type="text" name="Name" size="34"> </font> <font color="#CC0000" face="Verdana" size="1">*Required</font>

</td>
</tr>

<tr>
<td width="160"><font size="2">Email Address:</td>
<td width="380"><input type="text" name="email" size="30"></font> <font color="#CC0000" face="Verdana" size="1">*Required</font>
</td>
</tr>

<tr>
<td width="160"><font size="2">Address:</td>
<td width="380"><input type="text" name="email" size="30"></font>
</td>
</tr>

<tr>
<td width="160"><font size="2">Phone Number:</td>
<td width="380"><input type="text" name="email" size="30"></font>
</td>
</tr>

<tr>
<td width="160"><font size="2">Select the type of request:</td>
<td width="380">
<select>
<option value="order information"><font size="2">Order Information</option>
<option value="product information"><font size="2">Product Information</option>
<option value="website feedback"><font size="2">Website Feedback</option>
<option value="compliment/complaint"><font size="2">Compliment/Complaint</option>
<option value="general feedback/question"><font size="2">General Feedback/Question</option>
</select>
</td>
</tr>
<tr><td colspan="2"></td></tr>

<tr>
<td colspan="2"><font size="2">Enter comment below:<br clear="all">
<textarea name="comment" cols="50" rows="10" wrap="virtual"></textarea><input type="hidden" name="comment" value=" ">
<br><font size="2">All personal information is strictly confidential.</td>
</tr>
<tr>
<td colspan="2"><br><input type="submit" value="Submit Request" style="font-family: Arial; font-weight: bold; border: 3 solid #FFCC00"></td>
</tr>
<tr>
<td colspan="2" ><br><font size="2">For questions and information about your order, product information, store locations, and general feedback, contact our Customer Service Representatives or Sales Advisors.
<p><span style="color:#CC0000"><b><font size="2">Call us:</b></span>
<br><font size="2">In the USA at (951) 304-9078 9AM - 10PM PST
29280 Wrangler Drive
Murrieta, CA 92563

<br><font size="2">Philippines at Manila (632) 696-4749 9AM - 12:00AM Manila Time </td>
</tr>
</table>
</form></td>



thanks.

akuehnel
I am looking at your form now. I will get back to you as soon as I have more information.

Thanks! Andréa
akuehnel
Ok, I see what is happening now. It is pulling the Phone Number. My phone number is 123-456-7891..and it is coming to you like:

Below is the result of your feedback form. It was submitted by
(123-456-7891) on Tuesday, February 15, 2005 at 10:24:07

Let me take a look at the fields a little closer, and I will get right back to you.

Andréa
akuehnel
Ok, you are all set. bigsmile.gif

After looking at your code, I noticed that you had the Phone Number field named "email" embarassed.gif

I changed this to input name="phone".

I also went ahead and made the Email and Name fields required (since you had them marked as such).

Please, take a look and let me know if you have any questions.

Thanks! Andréa
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.