This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to use ssmtp ?


Hi Andrew,

Thank you for your post.

Unfortunately I do neither find 'uuencode' nor 'uuenview' in
www.cygwin.com

I have also tried:
cat <file> |ssmtp -s test recipient at domain dot com
and:
ssmtp -s test recipient at domain dot com < <file>
and neither of them send the requested file.

Any hints ?

Marek

Andrew Markebo wrote:

> / a12 <a12 at swipnet dot se> wrote:
> | Olaf,
> |
> | Thank you for your hint.
> |
> | echo test|ssmtp -s test recipient at domain dot com
> | does send a mail.
> |
> | The From: field contains 'sys [sys at mail dot xyz dot com]'. As I want to
> | contains it 'sys at rrback', I enter:
> | echo test|ssmtp -fsys at rrback -s test recipient at domain dot com
> | and it works as expected.
> |
> | The To: field is empty. How do I set it ?
> | The Subject: field is empty. How do I set it ?
>
> You put To: and Subject: as the first lines of what you send in to
> ssmtp, and have one empty line to the body. Like:
>
> -----------------------
> To: someone at somewhere
> Subject: Testing
>
> Here comes the message
> -------------------------
>
> | How do I send a file ?
>
> One easy way, "uuencode file | ssmtp", my way, I use uuenview to take
> care of the encoding, formatting and so on.
>
> I think.. :-)
>
> The manpage contains an example or two..
>
>     /Andy
>
> --
>  The eye of the beholder rests on the beauty!
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]