View previous topic :: View next topic |
Author |
Message |
robux n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Nov 2002 Posts: 24
|
Posted: Tue Sep 16, 2003 12:44 pm Post subject: command line mail program? |
|
|
Hi, I need an email program which I can start via command line and set the subject, text, reveiver and attachmant by Parameters. This program should connect to a mailserver via SMTP protocol.
Example:
# mailit /REC=someone@somewhere /SUB="Testmail" /TEXT="Hallo again" /ATT=/documents/mypdf.pdf
Thanks,
Rob |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
silverter Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Loony Toons/Looney_Toons_-_Daffy.gif)
Joined: 10 Apr 2002 Posts: 491 Location: Ulm, DE
|
Posted: Tue Sep 16, 2003 1:17 pm Post subject: |
|
|
Have you tried mail? I can't recall what package it in... but it is exactelly what you are looking for... on the command line you can do Code: | mail somebody@somehwere -s subject -s attachement < test. | This shout also work with mutt. Someone correct me if I'm wrong...
HTH
regards _________________ -- A Guru was once a Beginner -- |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mglauche Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/d4cac7603db6b920987fd.gif)
Joined: 25 Apr 2002 Posts: 564 Location: Germany
|
Posted: Tue Sep 16, 2003 2:18 pm Post subject: |
|
|
another good choice for this is the classic "mail" programm, which is in the "mailx" package.
so, emerge mailx, then man mail ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|