Oracle - Problema PLSQL UTL_MAIL

 
Vista:
sin imagen de perfil

Problema PLSQL UTL_MAIL

Publicado por Alan Ulises (1 intervención) el 07/10/2021 20:53:05
Hola, soy nuevo en PLSQL, estoy intentando crear un programa sencillo para el envio de email con oracle PLSQL, mediante el siguiente código:

1
2
3
4
5
6
7
Begin
send_mail(
p_sender => 'example@hotmail.com',
p_recipients => 'example_test@hotmail.com',
p_subject => 'This is the subject line!',
p_message => 'Hello World!');
end;

he hecho diversos pasos similares al del siguiente link:
http://amitpawardba.blogspot.com/2015/02/enable-oracle-database-to-send-emails.html

sin embargo, siempre me arroja el siguiente error:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
Informe de error -
ORA-29278: error transitorio de SMTP: 451 5.7.3 STARTTLS is required to send mail [SA0PR11CA0151.namprd11.prod.outlook.com]
ORA-06512: en "TEST.SEND_MAIL", línea 23
ORA-06512: en "SYS.UTL_MAIL", línea 662
ORA-06512: en "SYS.UTL_SMTP", línea 57
ORA-06512: en "SYS.UTL_SMTP", línea 140
ORA-06512: en "SYS.UTL_SMTP", línea 476
ORA-06512: en "SYS.UTL_MAIL", línea 444
ORA-06512: en "SYS.UTL_MAIL", línea 679
ORA-06512: en "TEST.SEND_MAIL", línea 12
ORA-06512: en línea 2
29278. 00000 -  "SMTP transient error: %s"
*Cause:    A SMTP transient error occurred.
*Action:   Correct the error and retry the SMTP operation.


Agradecería bastante la ayuda.
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder