Lunarpages Web Hosting Forum

Author Topic: Formmail HELP!  (Read 7012 times)

leighsww

  • Guest
Formmail HELP!
« Reply #30 on: December 09, 2004, 06:44:32 PM »
Quote from: Pete
Just so you know xeon as i'm guessing you hadn't noticed.
Leighsww = Lady = formmail Goddess[/color]

NO, NO!!!!!!  Stop calling me those names!!!! It's like that "s" word (that rhymes with "tweet")!!! :whip: :argh:

I prefer "Bro", really, really I do  :cry:

Offline xeon

  • Space Explorer
  • ***
  • Posts: 9
Formmail HELP!
« Reply #31 on: December 09, 2004, 07:02:36 PM »
oh Thanks Leighsww I'll try it and let you know also. And sorry for calling you bro  :D .
Thanks pete  :thumb:

leighsww

  • Guest
Formmail HELP!
« Reply #32 on: December 09, 2004, 07:06:11 PM »
Quote from: xeon
And sorry for calling you bro  :D .

Oh my, no offense taken, really!!  I respond to any and all names (well, within reason of course  :-? ) :D  :love:

Offline xeon

  • Space Explorer
  • ***
  • Posts: 9
Formmail HELP!
« Reply #33 on: December 10, 2004, 07:45:45 AM »
Leighsww,
I am still getting the email from nobody's account. would you like to see my script file?

Offline GarveysIT

  • Web Design SEO England UK
  • Berserker Poster
  • *****
  • Posts: 11648
  • Web Design SEO England UK
    • Web Design | SEO | IT Support Stockton-on-Tees, Middlesbrough, Darlington, Durham
Formmail HELP!
« Reply #34 on: December 10, 2004, 08:42:07 AM »
just post it, i'm sure she will :thumb:

leighsww

  • Guest
Formmail HELP!
« Reply #35 on: December 10, 2004, 10:04:55 AM »
Quote from: xeon
Leighsww,
I am still getting the email from nobody's account. would you like to see my script file?

It wasn't the script that needed to be touched. It's your html form page. I was able to get it to work when I made the changes I noted in my previous post.

Okay, I'll take a look at your new html and get back to you.

leighsww

  • Guest
Formmail HELP!
« Reply #36 on: December 10, 2004, 10:19:39 AM »
xeon, I copied your html source code and tried it on my server and I got the email back with my email addy in the "From".

This is weird if you are not, because it seems to be working fine for me.

Okay, please give me access to your server so I can look at your script and test on your server to see what's going on here.

PM me your username and password. You can change the password once I'm done.

leighsww

  • Guest
Formmail HELP!
« Reply #37 on: December 27, 2004, 12:36:53 PM »
xeon, I got your PM.

I tested it again and I get the email header just fine.

I've sent you a test, see if you got it.

Your problem might have been that you were leaving the email part blank. If you do that, then the "nobody@server.lunarpages.com" will replace the actual email of the submitter.

Could that have been what you were doing? Leaving the email area blank when you tested it?

Offline xeon

  • Space Explorer
  • ***
  • Posts: 9
Formmail HELP!
« Reply #38 on: December 27, 2004, 01:01:44 PM »
:yey:  :yey:  :yey:
You are just great Leighsww. Its working fine now. Thanks for your great help and support.

leighsww

  • Guest
Formmail HELP!
« Reply #39 on: December 27, 2004, 01:11:28 PM »
xeon, if you do not want your visitors to leave the email field blank (thus you receiving the "nobody@server.lunarpages.com" in the "From:"), then put the "required" hidden tag in your html form. It would look like this:

Code: [Select]
<input type="hidden" name="required" value="email">

They will then have to input their email addy (thus not be able to leave it blank) for the form to submit.

Offline xeon

  • Space Explorer
  • ***
  • Posts: 9
Formmail HELP!
« Reply #40 on: December 27, 2004, 04:31:20 PM »
Leighsww can I put the default email address like postmaster@abc.com? Email should come from this email address everytime anybody click on submit button.

leighsww

  • Guest
Formmail HELP!
« Reply #41 on: December 27, 2004, 04:50:44 PM »
Quote from: xeon
Leighsww can I put the default email address like postmaster@abc.com? Email should come from this email address everytime anybody click on submit button.

The email is not being sent to your visitors, so are you talking about where it will "come to" and not "come from"? Only you will be getting the emailed results, because you are not specifying for a copy of the results to be sent to your visitors.

The "@allow_mail_to" in the script is where the emailed results will be sent to. Is this what you are referring to?

leighsww

  • Guest
Formmail HELP!
« Reply #42 on: December 27, 2004, 04:58:11 PM »
P.S. If you want a copy sent to the submitter, then you can use the "$send_confirmation_mail" but read the "CAUTION" first before implementing it (here's the README file on this):

Code: [Select]
$send_confirmation_mail -
                          If this flag is set to 1 then an additional email
                          will be sent to the person who submitted the
                          form.

                          CAUTION: with this feature turned on it's
                          possible for someone to put someone else's email
                          address in the form and submit it 5000 times,
                          causing this script to send a flood of email to a
                          third party.  This third party is likely to blame
                          you for the email flood attack.

$confirmation_text -
                          The header and body of the confirmation email
                          sent to the person who submits the form, if the
                          $send_confirmation_mail flag is set. We use a
                          Perl 'here document' to allow us to configure it
                          as a single block of text in the script. In the
                          example below, everything between the lines

                            $confirmation_text = <<'END_OF_CONFIRMATION';

                          and

                          END_OF_CONFIRMATION

                          is treated as part of the email. Everything
                          before the first blank line is taken as part of
                          the email header, and everything after the first
                          blank line is the body of the email.

    $confirmation_text = <<'END_OF_CONFIRMATION';
  From: you@your.com
  Subject: form submission

  Thankyou for your form submission.

  END_OF_CONFIRMATION

Offline xeon

  • Space Explorer
  • ***
  • Posts: 9
Formmail HELP!
« Reply #43 on: December 27, 2004, 05:07:08 PM »
Quote from: leighsww
Quote from: xeon
Leighsww can I put the default email address like postmaster@abc.com? Email should come from this email address everytime anybody click on submit button.

The email is not being sent to your visitors, so are you talking about where it will "come to" and not "come from"? Only you will be getting the emailed results, because you are not specifying for a copy of the results to be sent to your visitors.

The "@allow_mail_to" in the script is where the emailed results will be sent to. Is this what you are referring to?


Yes Leighwss this email is not sent to the visitors but it send to one of my client and to my boss. previously I was using the other script which sent us email from the account postmaster@xelleration.ca.

leighsww

  • Guest
Formmail HELP!
« Reply #44 on: December 27, 2004, 05:15:54 PM »
Quote from: xeon
Yes Leighwss this email is not sent to the visitors but it send to one of my client and to my boss. previously I was using the other script which sent us email from the account postmaster@xelleration.ca.

Ah, then I would recommend that you use a particular email address, then have it forward to your client and boss. You can create the "forwarding" via cPanel.