PDA

View Full Version : Looking For Simple Mail Script


virgohippy
2006-07-29, 11:05 PM
Can someone point me to a resource for a free and secure mailto scripts?

I don't need any fancy bells and whistles, just something that passes info from a form to an email in a format I can manipulate.

I wrote a simple pearl mailto script for submissions, but it looks like some arrogent fuck is trying manipulate it so it passes bcc's so he can push his penis pills on my mail server. I don't use the domain for mail, so I'm not too worried about being flagged for spam, but I'd rather not take a chance on my limited skills.

Until then, submissions are closed. |banghead|

Cleo
2006-07-29, 11:14 PM
This is what I use
http://www.scriptarchive.com/formmail.html

virgohippy
2006-07-29, 11:20 PM
Thanks Cleo.

I found this once before, but wasn't sure if I could trust it.

Knowing you're using it means a lot. ;)

EDIT: I better go eat something before I mess with this one.

virgohippy
2006-07-30, 03:54 AM
Problem fixed. :D

Thank you much cleo. If only I could suck on you, I'd show how much of a Life Saver you are. ;)

Nookster
2006-08-06, 07:29 AM
|lovers| PHP |lovers|

$from = 'tgp@yoursite.com';
$to = 'person@email.com';
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: YourSite TGP <' . $from . '>' . "\r\n";
$subject = 'Your gallery was accepted!';
$message = 'Your gallery was accepted and is now live on yoursite.com!<br />Thank you for your submission!';
// Mail it
mail($to, $subject, $message, $headers);


|thumb |thumb