This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin Mail and Exchange Server
- From: Reid Thompson <Reid dot Thompson at ateb dot com>
- To: Ronald Fischer <fischerr dot external at infineon dot com>
- Cc: cygwin at cygwin dot com
- Date: Mon, 19 May 2008 09:38:09 -0400
- Subject: Re: Cygwin Mail and Exchange Server
- References: <loom.20080519T115448-317@post.gmane.org>
- Reply-to: Reid dot Thompson at ateb dot com
On Mon, 2008-05-19 at 12:04 +0000, Ronald Fischer wrote:
> Hello,
>
> at a customer's site, I would like to be able to send email from
> bash scripts. The setup of the software is pretty standard: Usually
> mail is sent and read using Outlook, and there is an Exchange server
> lurking somewhere to do the job. What do I have to do in such an
> environment in order to be able to send mail from cygwin?
>
> I thought this is such a common setup that there must be somewhere a
> "howto" for this subject, but I searched the Cygwin FAQ, the Cygwin
> User Guide, and /usr/doc/cygwin without success. Isn't there a Cygwin
> utility which simply uses the settings in Outlook to send the mail?
>
These types of things can be done from scripts
rthompso@raker ~ $ cat ./testmail.sh
#!/bin/bash
echo "this is a script email test" | mutt -x -s testscript user@domain.com
cat "testfile" | mutt -x -s testscript user@domain.com
etc, etc
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/