|
|
Frequently Asked Questions
|
Mailing Lists & Form Headers
|
You are allowed to run mailing lists, or mail based features on your site.
We only ask that you also control what happens with bad email address.
These are known as bounces. Ordinarily when a messages is sent to an
invalid email address, it will bounce back to the sender saying it was
undeliverable. In the case of emails generated from your virtual hosting
account with us (CGI, PHP, Perl, etc) These bounces come back to the server
and we have to wade through hundreds of them, and you would never know that
you are sending emails to bad addresses.
In order to get your bounces back, add the following header to your mail
code:
Return-Path: myemail@mydomain.com
Here is some sample perl code to illustrate the usage of this header:
open(MAIL, "|/usr/sbin/sendmail -t") or die "Could not launch Mailer\n";
print MAIL "Return-Path: myeamil\@mydomain.com\n";
print MAIL "To: email\@address.com\n";
print MAIL "From: myemail\@mydomain.com\n";
print MAIL "Subject: New Order\n\n";
print MAIL "Thank you for placing your order, we will ship it out as
soon as we can!!!\n\n";
print MAIL "Best Regards\n";
print MAIL " The Website\n";
close(MAIL);
Back to FAQ's
|
|
|