Help for this page

Select Code to Download


  1. or download this
    # telnet email-smtp.us-east-1.amazonaws.com 465
    Trying 107.20.160.81...
    ...
    Escape character is '^]'.
    HELO adsf
    Connection closed by foreign host.
    
  2. or download this
    open my $DEBUG, ">>smtp_log" or print STDERR "Unable to open smtp_log"
    +;
     
    ...
    $sender->SendEnc($msg);
     
    close $DEBUG;
    
  3. or download this
    my $server      = "email-smtp.us-east-1.amazonaws.com";
    my $port        = 465;
    ...
    eval { $mailer->send($email) };
     
    die "Error sending email: $@" if $@;