Revision 402

Date:
2013/12/18 17:54:29
Author:
ahitrov
Revision Log:
Now you can switch to smtp server for sending mail
Files:

Legend:

 
Added
 
Removed
 
Modified
  • koi8/core/comps/inc/sendmail.msn

     
    2 2
    3 3 $email => undef
    4 4 $etype => 'mixed'
    5 $smtp => undef
    5 6
    6 7 </%args>
    7 8 <%init>
     
    70 71 'Disposition' => '',
    71 72 );
    72 73
    73 $msg->send();
    74 if ( $smtp ) {
    75 $msg->send('smtp', $smtp, Debug => 0)
    76 } else {
    77 $msg->send();
    78 }
    74 79
    75 80 </%init>