Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Email from an Oracle database server
Hi:
Well, the database can't natively send mail (assuming you are referring to SMTP mail). One way that I can think of to do this would be:
This would probaby scale pretty well as a single-threaded single process. If you needed additional scaleability, you could modify it to be a multi-process daemon or multi-threaded service that opens multiple Oracle sessions and creates multiple pipes with different names. Then, you would have to construct some sort of algorithm to choose which pipe to send the mail_id to. Perhaps just a simple round-robin type approach would work.
One note on what I've said above. A single-threaded single-process unix daemon is pretty easy to write. There is actually no such thing as a single-threaded NT service; all services have to be multi-threaded to fit the "NT Service Model". You *could* of course write it as a single-threaded daemon on NT, then run it in the background using AT or SOON, or the SRVANY.exe utility included in the NT resource kit. It wouldn't fit MS's model, but who cares as long as it works?
Good luck,
--
David C. Sisk
The Unofficial ORACLE on NT site
http://www.ipass.net/~davesisk/oont.htm
Ayokunle Giwa wrote in message <4TPi3.2039$cO4.66994_at_news12.ispnews.com>...
>Is anyone aware of a solution capable of handling a latrge email load
>generated from within an Oracle database,
>I can think of number of ways to do it but I seek a robust and scalable
>solution .....................
>
>Ayokunle Giwa
>
>
Received on Tue Jul 13 1999 - 21:07:01 CDT
![]() |
![]() |