Results 1 to 2 of 2

Thread: UTL_SMTP error

  1. #1
    Join Date
    Aug 2008
    Posts
    6

    Unanswered: UTL_SMTP error

    create or replace PROCEDURE PROCEDURE1 AS
    c utl_smtp.connection;
    BEGIN
    c := utl_smtp.open_connection('dbdev1',1523);
    utl_smtp.helo(c, email server);
    utl_smtp.mail(c, email id);
    utl_smtp.rcpt(c, email id);
    utl_smtp.open_data(c);
    utl_smtp.write_data(c, 'Hello, world!');
    utl_smtp.close_data(c);
    utl_smtp.quit(c);
    END PROCEDURE1;

    In the above i have a valid email in the email id field and a valid server for email server and gave all the information correctly,it compiles well but doesnt send the email when i run it.Please let me know how to do this

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    I doubt the SMTP server is listening on port 1523
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •