#!/usr/bin/perl # just put this bad boy on your desktop and # double click as needed. :) use strict; use Mail::Sendmail; # you my $self = 'Monk'; my $email = 'me@workplace.com'; # her my $chicks_name = 'Chick'; my $her_email = 'chick@mail.com'; my @cheese = ( "hey $chicks_name\n\n I hope everythings going well today.\n I just wanted to drop you a line.\n\nLove always,\n\t$self", "Baby,\n I just wanted you to know how much I love you. Youre great!\n\nLove,\n\t$self", "I've been thinking about you all day. I can't wait to come home to you.\n talk to ya later,\n\t$self", ); my @subjects = ( "hey babe...", "a short message from your lover...", "just wanted to say hi...", "oh I love you...", ); my %mail = ( To => $her_email, From => $email, Subject => $subjects[rand($#subjects)], Message => $cheese[rand($#cheese)] ); sendmail(%mail) || warn "$!";