Sending mails with pine from a bash script - Pine
This is a discussion on Sending mails with pine from a bash script - Pine ; Hi!
Can I send an email with pine from a bash script
without any user interaction. I didn't find any option
for this in man pine.
Thanks
Konstantin Miller...
-
Sending mails with pine from a bash script
Hi!
Can I send an email with pine from a bash script
without any user interaction. I didn't find any option
for this in man pine.
Thanks
Konstantin Miller
-
Re: Sending mails with pine from a bash script
Hi,
Quoting Konstantin Miller, 18:49 +0200 Thu 4th May 2006,
> Can I send an email with pine from a bash script
> without any user interaction. I didn't find any option
> for this in man pine.
There's a patch for that,
http://www.math.washington.edu/~chap.../outgoing.html
but piping
cat << EOF
From: lala@example.com
To: dest@domain
Subject: lala
text body
EOF
to sendmail -t is more handy imo. Otherwise there's also
echo "body text" | mail -s "subject" dest@domain.tld also
Pierre-Philipp Braun
www.nethence.com
-
Re: Sending mails with pine from a bash script
Thank you very much!
I already thought that it would be more natural to do it with
sendmail, but I am a little confused of configuring sendmail to
use an external smtp server and I don't know why it fails sending my
emails directly without relaying.
I'll try the patch and will also try out if "mail" is easier to
configure then sendmail.
Konstantin Miller
On Thu, 04 May 2006 19:35:26 +0200, Pierre-Philipp Braun wrote:
> Hi,
>
> Quoting Konstantin Miller, 18:49 +0200 Thu 4th May 2006,
>> Can I send an email with pine from a bash script
>> without any user interaction. I didn't find any option
>> for this in man pine.
>
> There's a patch for that,
> http://www.math.washington.edu/~chap.../outgoing.html
>
> but piping
>
> cat << EOF
> From: lala@example.com
> To: dest@domain
> Subject: lala
>
> text body
> EOF
>
> to sendmail -t is more handy imo. Otherwise there's also
> echo "body text" | mail -s "subject" dest@domain.tld also
>
> Pierre-Philipp Braun
> www.nethence.com
-
Re: Sending mails with pine from a bash script
On Thu, 4 May 2006, Konstantin Miller wrote:
> Hi!
Ho.
> Can I send an email with pine from a bash script
> without any user interaction. I didn't find any option
> for this in man pine.
We are talking about a M*U*A (Mail *User* Agent). Are we?
Pine is a MUA is a MUA is a MUA.
Use "sendmail" or "mail" or something comparable instead.
> [...]
Regards
Henning Hucke
--
The idle man does not know what it is to enjoy rest.
Similar Threads
-
By Application Development in forum SendMail
Replies: 5
Last Post: 09-28-2007, 02:13 PM
-
By Application Development in forum Pine
Replies: 10
Last Post: 05-29-2007, 05:46 AM
-
By Application Development in forum REXX
Replies: 2
Last Post: 12-04-2006, 09:02 PM
-
By Application Development in forum Pine
Replies: 16
Last Post: 04-12-2006, 03:26 PM
-
By Application Development in forum Pine
Replies: 3
Last Post: 11-21-2004, 05:22 PM