comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDLSpecII: IDL Speed Survey Redux!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDLSpecII: IDL Speed Survey Redux! [message #17481 is a reply to message #17475] Fri, 22 October 1999 00:00 Go to previous messageGo to previous message
wmc is currently offline  wmc
Messages: 117
Registered: February 1995
Senior Member
J.D. Smith <jdsmith@astro.cornell.edu> wrote:
> wmc@bas.ac.uk wrote:
>> Aside: the auto-email failed, with no obvious indication of why.

> Thanks. The auto-email code is basically:

> spawn,/SH,'mail -s "SUBJ" user@company.com < file 2>&1 1>/dev/null', r
> if strlen(strtrim(r[0],2)) ne 0 then begin
> print,'Error sending email.'
> endif

> If "mail" is not available on your path, or if it is not configured for
> sending, it will fail. Maybe you could try sending a message to yourself
> from IDL via spawn in this manner and let me know the results. Make
> sure something exists in "file". Is there a more generic spawn command
> I could use to accomodate Alpha's?

The error I get back with that command is:

usage: binmail [-epqbhr] [-f file]
or binmail [-d] [-r name] [-h N] user ...

It works if I replace "mail" with "Mail". This may be more of a peculiarity of
our system than a generic alpha thing... but you could let the script have a second
go with "Mail" if the first send fails, perhaps?

-W.

--
William M Connolley | wmc@bas.ac.uk | http://www.nbs.ac.uk/public/icd/wmc/
Climate Modeller, British Antarctic Survey | Disclaimer: I speak for myself
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Tropopause
Next Topic: IDL-C-Fortran

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 05:05:57 PDT 2025

Total time taken to generate the page: 1.52251 seconds