Día: 16 de enero de 2006

  • update: manda un email con adjuntos usando perl

    ### Adjust sender, recipient and your SMTP mailhost my $from_address = ‘robot@senin.org’; my $to_address = ‘jorge@senin.com’; my $mail_host = ‘mail.senin.org»; my $your_file_txt = ‘for-mail-robot.txt’; ### Adjust subject and body message my $subject = ‘[notificacion] enviando un email con perl’; my $message_body = «»; open ( F , $your_file_txt); @message_body = <F> ; close ( F…