On Tuesday 03 January 2012 00:47, Rick wrote:
 > I'm having some difficulty in interpreting the latest usage syntax for
 > SendMail. I'm only familiar with the version in the BusyBox of a couple
 > years ago, which included more switches. The old syntax for my purposes
was:
 >
 > sendmail -S"smtp server address" -f"from email address" -F"From name"
 > -d"sender's domain" -s"Subject" -m"content of the message"
 > [email protected]
 >
 > Of the above switches, apparently only -S and -f survive in the current
 > version, depending on what -o "Various options" means. So, I'm a little
 > puzzled about how to go about things now, particularly if there's no -m
(I
 > think redirection of a file containing the message might be involved now,
 > but I failed at that as well).
 >
 > Could someone list a concrete example for me?  Thanks.

> sendmail command line was made more compatible with "standard" one -
> which isn't doing any composition (it does not add From/To/Subject
> lines etc, it simply sends the data supplied on stdin).
> You need to add those lines yourself.

On a quest to see what's involved with that, I found the manual
(http://www.sendmail.org/doc/sendmail-current/doc/op/op.pdf). Queue files,
data files, oh my. There doesn't appear to be any practical way to use this
on an embedded system any longer without quite a bit more study.

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to