![]() |
mailcmd - send email from commandline
http://maemo.org/packages/view/mailcmd/
Hi, this is a simple command line utility to send emails. It uses your default email account from your email applications (modest). To send an email just enter the email subject, receiver address(es) and type in your message (finish up with ctrl+d). Examples: mailcmd -s subject recipients your message or echo "your message" | mailcmd recipients If you have configured modest for autoupdate, the message is sent the next time you are online. Otherwise it stays in your outgoing folder until you push "send/receive" (in modest). nicolai |
Re: mailcmd - send email from commandline
Wonder if this can be achieved with a script and telnet to smtp port (25?), would also allow you to send as bill.gates@microsoft.com, sent yesterday if you find a server that doesn't require encryption (good old times).
|
Re: mailcmd - send email from commandline
I would prefer to send one as elop@nokia.com with subject release the N950 worldwide
|
Re: mailcmd - send email from commandline
Elop/BG, not much difference. You could send as obama@whitehouse.gov (there are websites that still allow you to do it, one of the funny things to do with telnet years ago, now most servers require authentication/encryption).
obama@whitehouse.gov wrote: Stephen for god's in which we trust sake: release the N950 now! |
Re: mailcmd - send email from commandline
New version (0.02)
- finds default email account, even if they contain whitespaces (like "Mail for Exchange") - add an option "-a" for attachments (echo "message" | mailcmd -a /fullpath/to/file -s subject adress(es) nicolai |
Re: mailcmd - send email from commandline
I don't why, but mailcmd is giving me "segmentation fault" when i try to use it.
This is the command i'm using: echo "test" | mailcmd myemail@gmail.com |
Re: mailcmd - send email from commandline
works for me.
Do you have a mail account defined? |
Re: mailcmd - send email from commandline
yes of course - it also worked the last time i used it ~a week ago and this started happening for some reason
|
Re: mailcmd - send email from commandline
i just tried to run the same command from an SSH client (my pc) and it worked fine!
the segmentation issue only happens if i run it from x-term on the device itself - strange |
Re: mailcmd - send email from commandline
is it possible to send multiple attachment?
I can send with one but not more than that |
All times are GMT. The time now is 19:13. |
vBulletin® Version 3.8.8