Quantcast
Channel: Oracle, MySQL, Sybase, Informix and other databases
Viewing all articles
Browse latest Browse all 1350

Production Vs Staging with Oracle with UTL_MAIL.SEND

$
0
0

Has anyone ran into issues when sending email in a production environment and seeing slowness compared to your staging environment?  We are using utl send mail (code below) to do our emails from the database via a stored procedure. When we go to production it is VERY slow. It will only send an email every 5 seconds.  In staging/development it runs fine.  Anyone have a clue how this could be fixed or is it something with the mail server?  Does utl send mail wait for a response from the smtp server?  Can something be changed on how utl send mail is set up on the production server?

UTL_MAIL.SEND (
   sender      IN    VARCHAR2 CHARACTER SET ANY_CS,
   recipients  IN    VARCHAR2 CHARACTER SET ANY_CS,
   cc          IN    VARCHAR2 CHARACTER SET ANY_CS DEFAULT NULL,
   bcc         IN    VARCHAR2 CHARACTER SET ANY_CS DEFAULT NULL,
   subject     IN    VARCHAR2 CHARACTER SET ANY_CS DEFAULT NULL,
   message     IN    VARCHAR2 CHARACTER SET ANY_CS,
   mime_type   IN    VARCHAR2 DEFAULT 'text/plain; charset=us-ascii',
   priority    IN    PLS_INTEGER DEFAULT NULL);


Viewing all articles
Browse latest Browse all 1350

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>