nsForum logo

Welcome Guest ( Log In )

 
Reply to this topicStart new topic
> Forms Do Not Send Mail
diamond
post Feb 23 2010, 11:30 AM
Post #1





Group: Verified NS Member
Posts: 2
Joined: 23-February 10
Member No.: 8,072



I followed the exact procedures on "nsHosting->Site Enhancements->Forms" to created a form, entered my email address, and then put in into a Web site.

But, I have tried several time entering information, and hit the submit buttons.

I do not receive any email from this From Submisiion.

What am I missing?

Thank you.
James
Go to the top of the page
 
+Quote Post
Corey
post Feb 23 2010, 09:39 PM
Post #2


Network Solutions Technical Support


Group: Administrators
Posts: 173
Joined: 23-June 08
Member No.: 1,316



QUOTE (diamond @ Feb 23 2010, 11:38 AM) *
I followed the exact procedures on "nsHosting->Site Enhancements->Forms" to created a form, entered my email address, and then put in into a Web site.

But, I have tried several time entering information, and hit the submit buttons.

I do not receive any email from this From Submisiion.

What am I missing?

Thank you.
James


Some simple things to check is make sure you typed in your email address properly in your form (you can view this by checking the recipient input tag in your form HTML). Also, make sure the submissions aren't getting caught in a Junkmail or SPAM folder if you are using another provider for mail.
Go to the top of the page
 
+Quote Post
diamond
post Feb 24 2010, 03:03 AM
Post #3





Group: Verified NS Member
Posts: 2
Joined: 23-February 10
Member No.: 8,072



QUOTE (Corey @ Feb 23 2010, 10:47 PM) *
Some simple things to check is make sure you typed in your email address properly in your form (you can view this by checking the recipient input tag in your form HTML). Also, make sure the submissions aren't getting caught in a Junkmail or SPAM folder if you are using another provider for mail.



Thank you for looking into this.

I created the FORM-Mail using nsHosting's Form-Mail, the Form and Perl were automatic generated from nsHosting's site enhancement tool.

I did check:
1) my email address is entered correctly, in the FormMail.xxx.PL
2) my SPAM folder

The automatic generated script read like this: (I wonder what $Postmaster does, because that is not my email address, although @allow_mail_to seesm correct.)

Can you help? Thank you!

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

# Modify these to your own settings. You might have to
# contact your system administrator if you do not run
# your own web server. If the purpose of these
# parameters seems unclear, please see the README file.
#
BEGIN
{
$DEBUGGING = 1;
$emulate_matts_code= 0;
$secure = 1;
$allow_empty_ref = 1;
$max_recipients = 5;
$mailprog = '/usr/lib/sendmail -oi -t';
$postmaster = 'formmail@sbcglobal.net';
@referers = ();
@allow_mail_to = 'winstock@sbcglobal.net';
@recipients = ();
%recipient_alias = ();
@valid_ENV = qw(REMOTE_HOST REMOTE_ADDR REMOTE_USER
Go to the top of the page
 
+Quote Post
WGCI
post Jun 3 2010, 02:09 PM
Post #4





Group: Verified NS Member
Posts: 1
Joined: 2-June 10
Member No.: 9,829



This reply is probably too late to do you much good, but having messed around with it for about a day, I figured I would try to help whomever searches these forums next.

For me, sendmail does not seem to work at all. Not in my own scripts, nor in nsHosting's Form-Mail. However, Perl's Mail::Sendmail works great.

CODE

#!/usr/bin/perl -w
use Mail::Sendmail;

%mail = ( To => 'you@there.com',
From => 'me@here.com',
Message => "This is a very short message"
);

sendmail(%mail);

print "OK!";


I don't know why sendmail doesn't appear to work. It may have been depreciated in favour of Mail::Sendmail and the documentation hasn't caught up yet.

Anyway, hopefully this saves someone a day of pounding their head against a wall. (IMG:http://forums.networksolutions.com/style_emoticons/default/smile.gif)
Go to the top of the page
 
+Quote Post
kyboy
post Jun 4 2010, 12:34 AM
Post #5





Group: Verified NS Member
Posts: 154
Joined: 31-August 08
From: ky
Member No.: 2,243



Formmail works for me.
I just made some modifications to the generated perl script today.
I have form emails going to a NetSol email account.
Haven't tried going elsewhere, like yahoo, etc.
I have Windows Hosting Pkg, BTW.
Go to the top of the page
 
+Quote Post
kyboy
post Jun 4 2010, 12:38 AM
Post #6





Group: Verified NS Member
Posts: 154
Joined: 31-August 08
From: ky
Member No.: 2,243



In my formmail.pl script, I have

$mailprog = 'SMTP:localhost';
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
Tags
No Tag inserted yet

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version    Network Solutions © 2011 Time is now: 20th April 2014 - 03:43 PM
Domain Names | Web Hosting | Web Design | Shopping Cart Software | Online Marketing | SSL Certificates