If you setup your machine to do postfix or sendmail then you can send e-mails
from the command line. Also use a script. Even for this gmail account.

I am not getting into the details of configuration. OpenBSD developer
Gilles Chehade is
developing a SMTPD implementation but it will take around 6 more months I think.

There is still a lot more work to do.

For now please stick to Postfix or Sendmail. Both are bad. Postfix
does not have a good license
 and sendmail is too complex. Exim of course is worse.

Anyway this is what you need to do to send mail assuming that your MTA
does its job.


$ mail -s subject [email protected] < /dev/null

This will send an empty e-mail.

With mutt you can send attachments from the command line like this:

$ mutt -a /tmp/attach.pdf -s "testing attachments" [email protected]

You also have nail which is very powerful. I have never used it.

-Girish

-- 
Gayatri Hitech
web: http://gayatri-hitech.com

SpamCheetah Spam filter:
http://spam-cheetah.com
_______________________________________________
To unsubscribe, email [email protected] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to