Drush Commands

Submitted by barnettech on Thu, 07/29/2010 - 22:45

I'll add notes to this at a later time.

To download a module (masquerade in this case) using drush type in:

drush dl masquerade

sending mail with Perl and sendmail

Submitted by barnettech on Wed, 12/16/2009 - 13:47

print "Content-type: text/html\n\n";
$title='Perl Mail demo';
$from= 'webmaster@YOURDOMAIN.COM';
$subject='YOUR SUBJECT';
open(MAIL, "|/usr/sbin/sendmail -t");
## Mail Header
print MAIL "To: $to\n";
print MAIL "From: $from\n";
print MAIL "Subject: $subject\n\n";
## Mail Body
print MAIL "This is a test message from Cyberciti.biz! You can write your
mail body text here\n";
print "$title\n\n\n";
## HTML content sent, let use know we sent an email
print "
A message has been sent from $from to $to