delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/05/19/09:38:50

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-IronPort-AV: E=Sophos;i="4.27,509,1204520400"; d="scan'208";a="4165391"
Subject: Re: Cygwin Mail and Exchange Server
From: Reid Thompson <Reid DOT Thompson AT ateb DOT com>
Reply-To: Reid DOT Thompson AT ateb DOT com
To: Ronald Fischer <fischerr DOT external AT infineon DOT com>
Cc: cygwin AT cygwin DOT com
In-Reply-To: <loom.20080519T115448-317@post.gmane.org>
References: <loom DOT 20080519T115448-317 AT post DOT gmane DOT org>
Date: Mon, 19 May 2008 09:38:09 -0400
Message-Id: <1211204289.14533.6.camel@raker.ateb.com>
Mime-Version: 1.0
X-Mailer: Evolution 2.23.3
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin 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 AT raker ~ $ cat ./testmail.sh
#!/bin/bash

echo "this is a script email test" | mutt -x -s testscript user AT domain DOT com

cat "testfile" | mutt -x -s testscript user AT domain DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019