The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

Mail::Send (3)
  • >> Mail::Send (3) ( Разные man: Библиотечные вызовы )
  •  

    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->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 <[email protected]>

    Original code written by Tim Bunce <[email protected]>, with a kick start from Graham Barr <[email protected]>. With contributions by Gerard Hickey <[email protected]>

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


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    SEE ALSO
    AUTHORS


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру