#!/usr/bin/perl -w # unattended Mail::Sendmail test, sends a message to the author # but you probably want to change $mail{To} below # to send the message to yourself. # version 0.78 # if you change your mail server, you may need to change the From: # address below. $mail{From} = 'Sendmail Test '; $mail{To} = 'Sendmail Test '; #$mail{To} = 'Sendmail Test , You me@myaddress'; # if you want to get a copy of the test mail, you need to specify your # own server here, by name or IP address $server = 'mail.alma.ch'; #$server = 'my.usual.mail.server'; BEGIN { $| = 1; print "1..2\n"; } END {print "not ok 1\n" unless $loaded;} print <