Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Email Notification from DOS
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' );
-- Mladen Gogala A & E TV Network Ext. 1216Received on Wed Sep 08 2004 - 10:39:35 CDT
> -----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/
![]() |
![]() |