ssmtp: No recipients supplied

dale henderson dalehend@yahoo.com
Mon Mar 11 21:46:00 GMT 2002


Gerrit,

I made the one line change to the Open statement, but
did not receive any email -

open (MAIL, "|$mailprog -f gp\@familiehaase.de
dalehend\@yahoo.com")  || die "Can't open
$mailprog!\n";

Below is my system environment -


Cygwin Package Information
Package             Version             
ash                 20020131-1          
autoconf            2.52-5              
autoconf-devel      2.52-4              
autoconf-stable     2.13-4              
automake            1.5a-1              
automake-devel      1.5-5               
automake-stable     1.4p5-5             
bash                2.05a-2             
bc                  1.06-1              
binutils            20011002-1          
bison               1.31-1              
byacc               0.0                 
bzip2               1.0.1-6             
clear               1.0                 
compface            1.4-5               
cpio                2.4.2               
cron                3.0.1-6             
crypt               1.0-1               
ctags               5.0.1-1             
curl                7.9.3-1             
cvs                 1.11.0-1            
cygrunsrv           0.94-2              
cygutils            0.9.7-1             
cygwin              1.3.7-1             
dejagnu             20010117-1          
diff                0.0                 
ed                  0.2-1               
file                3.37-1              
fileutils           4.1-1               
findutils           4.1                 
gawk                3.0.4-1             
gcc                 2.95.3-5            
gdb                 20010428-3          
gdbm                1.8.0-4             
gettext             0.10.38-2           
gperf               0.0                 
grep                2.4.2-1             
groff               1.17.2-1            
gzip                1.3.2-1             
jbigkit             1.2-4               
jpeg                6b-4                
less                358-3               
libintl             0.10.38-3           
libintl1            0.10.40-1           
libncurses5         5.2-1               
libncurses6         5.2-8               
libpng              1.0.11-1            
libreadline4        4.1-2               
libreadline5        4.2a-1              
libtool-devel       20010531-6          
libtool-stable      1.4.2-2             
libxml2             2.4.13-1            
libxslt             1.0.10-1            
login               1.4-3               
lynx                2.8.4-1             
m4                  0.0                 
make                3.79.1-5            
man                 1.5g-2              
mingw-runtime       1.1-1               
mktemp              1.4-1               
mt                  2.0.1-1             
nano                1.0.7-1             
ncurses             5.2-8               
pcre                3.7-1               
perl                5.6.1-2             
popt                1.6.1-1             
postgresql          7.1.3-2             
readline            4.2a-1              
sed                 3.02-1              
sh-utils            2.0-2               
tar                 1.13.19-1           
termcap             20010825-1          
terminfo            5.2-1               
textutils           2.0.16-1            
which               1.5-1               
zlib                1.1.3-7             


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Tue Mar 12 00:17:35 2002

Windows 95 Ver 4.0 Build 1111 

Path:	D:\cygwin\usr\local\bin
	D:\cygwin\bin
	D:\cygwin\bin
	c:\WINDOWS
	c:\WINDOWS\COMMAND
	c:\PERL\BIN
	c:\PROGRAM FILES\MTS

SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS

HOME = `D:\cygwin\projectobjects'
MAKE_MODE = `unix'
PWD = `/'
USER = `projectobjects'

Use `-r' to scan registry

a:  fd           N/A    N/A                    
c:  hd  FAT     1372Mb  98% CP    UN          
DRIVE0VOL00
d:  hd  FAT32   1540Mb  48% CP    UN           

e:\cygwin      /usr/edrive  user    textmode
.              /cygdrive    user    binmode,noumount
D:/cygwin      /            system  binmode
D:/cygwin/bin  /usr/bin     system  binmode
D:/cygwin/lib  /usr/lib     system  binmode

Found: D:\cygwin\bin\bash.exe
Found: D:\cygwin\bin\cat.exe
Found: D:\cygwin\bin\cpp.exe
Found: D:\cygwin\bin\find.exe
Found: c:\WINDOWS\COMMAND\find.exe
Found: D:\cygwin\bin\gcc.exe
Not Found: gdb
Found: D:\cygwin\bin\ld.exe
Found: D:\cygwin\bin\ls.exe
Found: D:\cygwin\bin\make.exe
Found: D:\cygwin\bin\sh.exe

  365k 2001/10/12 D:\cygwin\usr\local\bin\cygdb3.dll
  127k 2001/10/12
D:\cygwin\usr\local\bin\cygmhash-2.dll
   56k 2000/12/03 D:\cygwin\bin\cygbz21.0.dll
   19k 2002/02/20 D:\cygwin\bin\cyggdbm.dll
   40k 2001/11/21 D:\cygwin\bin\cygpcre.dll
  107k 2002/01/23 D:\cygwin\bin\cygcurl-2.dll
   45k 2001/07/04 D:\cygwin\bin\cygjbig1.dll
  119k 2001/06/06 D:\cygwin\bin\cygjpeg6b.dll
   21k 2001/06/20 D:\cygwin\bin\cygintl.dll
   22k 2001/12/13 D:\cygwin\bin\cygintl-1.dll
   45k 2001/04/25 D:\cygwin\bin\cygform5.dll
   26k 2001/04/25 D:\cygwin\bin\cygmenu5.dll
  156k 2001/04/25 D:\cygwin\bin\cygncurses++5.dll
  226k 2001/04/25 D:\cygwin\bin\cygncurses5.dll
   15k 2001/04/25 D:\cygwin\bin\cygpanel5.dll
   35k 2002/01/09 D:\cygwin\bin\cygform6.dll
   20k 2002/01/09 D:\cygwin\bin\cygmenu6.dll
  175k 2002/01/09 D:\cygwin\bin\cygncurses++6.dll
  202k 2002/01/09 D:\cygwin\bin\cygncurses6.dll
   12k 2002/01/09 D:\cygwin\bin\cygpanel6.dll
   17k 2001/06/28 D:\cygwin\bin\cyghistory4.dll
  108k 2001/06/28 D:\cygwin\bin\cygreadline4.dll
   20k 2002/01/13 D:\cygwin\bin\cyghistory5.dll
  121k 2002/01/13 D:\cygwin\bin\cygreadline5.dll
  612k 2002/01/16 D:\cygwin\bin\cygxml2-2.dll
   73k 2002/01/16 D:\cygwin\bin\cygexslt-0.dll
  202k 2002/01/16 D:\cygwin\bin\cygxslt-1.dll
   22k 2002/01/16
D:\cygwin\bin\cygxsltbreakpoint-1.dll
   50k 2002/01/20 D:\cygwin\bin\cygz.dll
   19k 2002/01/13 D:\cygwin\bin\cygltdl-3.dll
   39k 2001/11/21 D:\cygwin\bin\cygpcreposix.dll
  621k 2002/01/16 D:\cygwin\bin\cygcrypto.dll
  156k 2002/01/16 D:\cygwin\bin\cygssl.dll
  751k 2002/01/19 D:\cygwin\bin\cygwin1.dll
    Cygwin DLL version info:
        DLL version: 1.3.7
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 51
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix: 
        Build date: Sat Jan 19 13:20:32 EST 2002
        Shared id: cygwin1S3

Use -h to see help about each section


--- "Gerrit P. Haase" <gp@familiehaase.de> wrote:
> Hallo dale,
> 
> Am 2002-03-11 um 23:27 schriebst du:
> 
> > I have installed the latest ssmtp from
> contrib/ssmtp
> > and the error above from the following test script
> at
> > a shell prompt.
> 
> > Any help appreciated,
> > dalehend@yahoo.com
> 
> 
> 
> > #!/usr/bin/perl
> > #Make sure the above line is the path
> > #to perl on your server.
> 
> > $mailprog = "/usr/sbin/ssmtp";
> > $now_string = localtime;  
> > open (MAIL, "|$mailprog ") || die "Can't open
> > $mailprog!\n";
> > print MAIL "From: projectobjects\@earthlink.net
> \n";
> > print MAIL "To: dalehend\@yahoo.com \n";
> > print MAIL "Subject: Fortuna: test \n\n";
> > print MAIL "$now_string \n\n test \n\n";
>  
> > close (MAIL);
> 
> Have you got my mail?
> I used this:
> 
> #!/usr/bin/perl
> #Make sure the above line is the path
> #to perl on your server.
> 
> $mailprog = "/usr/sbin/ssmtp";
> $now_string = localtime;  
> open (MAIL, "|$mailprog -f gp\@familiehaase.de
> dalehend\@yahoo.com")
>  || die "Can't open $mailprog!\n";
> print MAIL "From: projectobjects\@earthlink.net \n";
> print MAIL "To: dalehend\@yahoo.com \n";
> print MAIL "Subject: Fortuna: test \n\n";
> print MAIL "$now_string \n\n test \n\n";
>  
> close (MAIL);
> 
> 
> And try also:
> 
> $ man ssmtp
> 
> 
> Gerrit
> -- 
> =^..^=
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list