Mail::Send man page on OpenServer

Man page or keyword search:  
man Server   5388 pages
apropos Keyword Search (all sections)
Output format
OpenServer logo
[printable version]

Mail::Send(3)	      User Contributed Perl Documentation	 Mail::Send(3)

NAME
       Mail::Send - Simple electronic mail interface

SYNOPSIS
	   require Mail::Send;

	   $msg = new Mail::Send;

	   $msg = new Mail::Send Subject=>'example subject', To=>'timbo';

	   $msg->to('user@host');
	   $msg->to('user@host', 'user2@example.com');
	   $msg->subject('example subject');
	   $msg->cc('user@host');
	   $msg->bcc('someone@else');

	   $msg->set($header, @values);
	   $msg->add($header, @values);
	   $msg->delete($header);

	   # Launch mailer and set headers. The filehandle returned
	   # by open() is an instance of the Mail::Mailer class.
	   # Arguments to the open() method are passed to the Mail::Mailer
	   # constructor.

	   $fh = $msg->open;		   # some default mailer
	   # $fh = $msg->open('sendmail'); # explicit

	   print $fh "Body of message";

	   $fh->close;	       # complete the message and send it

	   $fh->cancel;	       # not yet implemented

DESCRIPTION
SEE ALSO
       Mail::Mailer

AUTHORS
       Maintained by Mark Overmeer <mailtools@overmeer.net>

       Original code written by Tim Bunce <Tim.Bunce@ig.co.uk>, with a kick
       start from Graham Barr <gbarr@pobox.com>. With contributions by Gerard
       Hickey <hickey@ctron.com>

       Copyright (c) 2002-2003 Mark Overmeer. All rights reserved. This pro-
       gram is free software; you can redistribute it and/or modify it under
       the same terms as Perl itself.

perl v5.8.8			  2007-05-11			 Mail::Send(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OpenServer

List of man pages available for OpenServer

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net