![]() |
![]() |
![]() |
You Are Here: Home : cape.computing : Developers' Info |
|||
|
|
Programming: Perl And sendmail
A number of popular programming tools and applications are available to you within your FTP/Web site, provided you've contacted us and requested Telnet access. Below are tips on how to access and use some of the more popular. Using SendmailSendmail is available to you in your /usr/sbin/ directory. The most common way to use it to pipe your message to sendmail in a perl script, e.g., open (MESSAGE_TO, "·/usr/sbin/sendmail -oi -t"); print MESSAGE_TO "From: $email" ; print MESSAGE_TO "To: $recp" ; print MESSAGE_TO "Errors-To: webmaster@mydomain.com"; print MESSAGE_TO "" ; print MESSAGE_TO "$message_body" ; close (MESSAGE_TO) ; Note: The Errors-To header should always be used when generating mail that may be undeliverable. Should the message return to our servers as undeliverable, the Errors-To field will be used to deliver error messages regarding the delivery failure. Related PagesIf a message's time stamp shows a large lag time between sending and receiving a message, here are some things to check.
Related LinksThe Source for the latest and best information about our most
indispensable information system programming language, Perl.
The Source for the latest and best information about our most
indispensable information system programming language, Perl.
We're not sure how they choose the animals that emblazon the covers
of their excellent reference books, but thanks to ORA, the camel and
Perl are forever linked.
We're not sure how they choose the animals that emblazon the covers
of their excellent reference books, but thanks to ORA, the camel and
Perl are forever linked.
Detailed information about CPAN modules.
Detailed information about CPAN modules.
The information presented in this section is deemed accurate but is
not guaranteed. It is provided as a free service to our subscribers
and clients. Additionally, Cape.Com, Inc. exercises no editorial control
over any links that are outside the www.cape.com domain and the content
of these sites does not necessarily represent the views and opinions
of our Company, its employees or clients.
|
|
|
||