how send email by Pl/sql

后端 未结 3 429
既然无缘
既然无缘 2020-12-21 17:43

I want send email by using *oracle 9i - Enterprise edition release 9.2.0.8.0 ,*I know there is one package for oracle 10,but would you advice me about it fo

3条回答
  •  爱一瞬间的悲伤
    2020-12-21 18:10

    check this thread on asktom about sending emails (from version 8i+): "Sending e-mail! -- Oracle 8i specific response"

    In version 9i, you have several options:

    • using PL/SQL and the UTL_SMTP package
    • using a java procedure

    The UTL_SMTP option would be the easiest to setup but some features (such as attaching files) may require a bit more work and some knowledge of SMTP. See MikeyByCrikey's answer for a good example.

    If you plan to upgrade, APEX has some mail utility (APEX_MAIL) available for version 10g+.

提交回复
热议问题