Projects / PHP FormMail / Comments

Comments for PHP FormMail

13 Aug 2005 20:40 meuon

Formmail.asp and formmail.php
Just sharing a formmail.php variant that sends the form responses as an ASCII e-mail, Table formatted HTML, and Pseudo-XML, and allows retrieval as a table from the server as HTML/Table, CSV and Pseudo-XML. - ie; stores data on server, with multiple form names. http://geeklabs.com/code/gl-formmail.php.txt

and a simple formmail.asp that sends the data as both a plain text and HTML/Table e-mail. http://geeklabs.com/code/gl-formmail.asp.txt

15 Apr 2002 15:01 nutbar

ASP conversion
Over the next little while, I will be porting this PHP FormMail script to ASP so that users with domains being hosted on servers running IIS can use this script with no worries about porability.

If anyone wants to help or has any questions, please let me know (I'm just learning ASP so help is more than welcome!)

04 Apr 2002 10:30 gilgongo

Re: What the author forgets to mention...
Just seen the fact you've updated the script and posted the fact on your site. You're right, I *am* a slacker! And I'm happy now (kinda).

04 Apr 2002 10:27 gilgongo

Re: What the author forgets to mention...
Why not simply have the script read the addresses from a local file? If the recipient address isn't in the file, it won't send the mail.

-- sorry, really should be discussing this off FM... please mail me direct if you want to know more.


>
> % Is that in order to prevent
> spammers
> % using the script, he's written it
> so
> % that it will only send mail to users
> on
> % the SAME DOMAIN as the script
> itself.
>
>
> Do you want to have the ability to
> send out emails to addresses other than
> the site domain? I set it up the way it
> currently is because the recipient email
> can be faked by just posting your own
> value since it is set in the form
> itself. I could set up something in the
> script that would let you add valid
> email addresses, but I tried to avoid
> requiring people to edit the script to
> use it so this is why I had not added
> this feature.


03 Apr 2002 09:52 nutbar

Re: What the author forgets to mention...

> Is that in order to prevent spammers
> using the script, he's written it so
> that it will only send mail to users on
> the SAME DOMAIN as the script itself.


Do you want to have the ability to send out emails to addresses other than the site domain? I set it up the way it currently is because the recipient email can be faked by just posting your own value since it is set in the form itself. I could set up something in the script that would let you add valid email addresses, but I tried to avoid requiring people to edit the script to use it so this is why I had not added this feature.

03 Apr 2002 08:25 gilgongo

What the author forgets to mention...
Is that in order to prevent spammers using the script, he's written it so that it will only send mail to users on the SAME DOMAIN as the script itself. So, if you want to the script to send mail to me@my.hotmail.address.com, but the script lives on www.myfreehost.com, then forget it. It won't work.

Use SouperMail instead.

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.