Cape.Computing Cape.Computing


You Are Here: Home : cape.computing : Developers' Info
Company Information


Electronic Commerce Services



Technical Support And References
Getting On-Line
On-Line Support
Dial-Up Number Finder
Spam Questions
Tech Support Links
Developers' Info
FAQs



People And Places Connected By Cape.Com



Explore Cape.Cod, New England and the World



E-Tools
Online Accounting
Webmail
Domain Registration
Search Our Site
Contact Cape.Com
Sign Up Now!




*

Return To Home Page


Programming: Perl And sendmail

Glossary Items:

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 Sendmail

Sendmail 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 Pages

If a message's time stamp shows a large lag time between sending and receiving a message, here are some things to check.

Related Links

The 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.

You Are Here: Home : cape.computing : Developers' Info
509 Falmouth Rd, Mashpee, MA 02649 - 508-539-9500 - © Cape.Com Inc. All rights reserved.