Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Email Notification from DOS

RE: Email Notification from DOS

From: Gogala, Mladen <Mladen.Gogala_at_aetn.com>
Date: Wed, 8 Sep 2004 11:43:27 -0400
Message-ID: <30462D80AA52E74698512ADCC4F7EAA31223977B@EXCHANGE>


Boy, is this DOS stuff ugly or what?. This looks much better:

$msg = MIME::Lite->new(

                 From     =>'me_at_myhost.com',
                 To       =>'you_at_yourhost.com',
                 Cc       =>'some_at_other.com, some_at_more.com',
                 Subject  =>'Helloooooo, List!',
                 Type     =>'image/gif',
                 Encoding =>'base64',
                 Path     =>'hello.gif'
                 );

$msg->send;
That's it.
It works on Winduhs. It also might work on few other places.
--
Mladen Gogala
A & E TV Network
Ext. 1216



> -----Original Message-----
> From: Branimir Petrovic [mailto:BranimirP_at_cpas.com]
> Sent: Wednesday, September 08, 2004 11:32 AM
> To: oracle-l_at_freelists.org
> Subject: RE: Email Notification from DOS
>
>
>
> > I'm looking for code example to how send an email
> notification using
> > Windows DOS scripting.
>
>
> REM -- Get blat.exe from: http://www.blat.net/
> REM -- Place it somewhere on PATH
>
>
> set EMAIL_NOTIFY=Y
> set FROM=siteadmins_at_myplace.com
> set TO=me_at_myplace.com
> set SMTP_SVR=mail.myplace.com
>
> set BLAT_UTIL=blat.exe
> set MAIL_BODY=%TEMP_DIR%\%SID%MailBody.log
> set SUBJECT=Whatever you like...
>
>
> if %EMAIL_NOTIFY%==Y (
> "%BLAT_UTIL%" "%MAIL_BODY%" -to %TO% -subject "%SUBJECT%"
> -server %SMTP_SVR% -f "%FROM%"
> )
>
> REM -- Branimir
> REM -- P.S. Doing the above in "real" scripting language is
> much-much better option...
>
> --
> To unsubscribe -
> mailto:oracle-l-> request_at_freelists.org&subject=unsubscribe
> To
> search the
> archives - http://www.freelists.org/archives/oracle-l/
>
-- To unsubscribe - mailto:oracle-l-request_at_freelists.org&subject=unsubscribe To search the archives - http://www.freelists.org/archives/oracle-l/
Received on Wed Sep 08 2004 - 10:39:35 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US