| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| X-YMail-OSG: | aRMx4dsVM1ngFXsEnLXqPHzUYpZHZYT6z3X75gn67DDl.cuowF2AiKC.8.nhshQ4Mq2h5l7TU811JYCnq.6dhmR80pzfTE_DmrY0lodI5k4W8Zu_twoMtJemxtK_E4Rl |
| Date: | Thu, 8 Feb 2007 15:14:08 -0800 (PST) |
| From: | oryann9 <oryann9 AT yahoo DOT com> |
| Subject: | using ssmtp to send mail from Intel cygwin platform |
| To: | cygwin AT cygwin DOT com |
| MIME-Version: | 1.0 |
| Message-ID: | <372740.61951.qm@web58814.mail.re1.yahoo.com> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.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 |
Hello...: )
I am having issues sending mail from within a perl
script on an intel
using the cygwin platform; the code is simply not
sending email or not sending the text in the file.
CYGWIN_NT-5.1 laptop 1.5.23(0.156/4/2) 2006-12-19
10:52 i686 Cygwin
snippet...
qx(/usr/sbin/ssmtp $user < $log);
system("/usr/sbin/ssmtp $user < $log") or warn
"email did not send
$!";
'ssmtp $user < $log`;
I then tried to just type in the email recipient and
file w/out using
variables and this did not work.
I did verify the log and user variables were being
parsed correctly
via print "[$user]\t"[$log]";
I have tried using qx, system, ` ` and require
calling a file that
has the ssmtp command in it to no success. I receive
no warnings or
errors.
I then tried using MIME::Lite and it does not send
and no errors or
warnings.
However, the command alone from my cygwin prompt
does send mail after
configuring ssmtp via /usr/bin/ssmtp-config.
ssmtp oryann9 AT yahoo DOT com < /cygdrive/c/temp/test.txt
Does anyone know what it could be or know of any
known issues with
this action of having Perl send mail using ssmtp on an
cygwin platform?
thank you
____________________________________________________________________________________
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |