utl_smtp probleme d'envoi de mail sous oracle
	
	
		Bonjour, j'ai récupéré une proc qui permet d'envoyer des mails sous oracle, la voici :
	Code:
	
| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 
 |  
CREATE OR REPLACE /*PROCEDURE send_mail (sender    IN VARCHAR2, 
                     recipient IN VARCHAR2, 
					                      message   IN VARCHAR2)
IS
    mailhost    VARCHAR2(30) := 'exchange2.cr-paca.fr';
    mail_conn  utl_smtp.connection;
 
BEGIN
    mail_conn := utl_smtp.open_connection(mailhost, 25);
    utl_smtp.helo(mail_conn, mailhost);
    utl_smtp.mail(mail_conn, sender);
    utl_smtp.rcpt(mail_conn, recipient);
    utl_smtp.data(mail_conn, message);
    utl_smtp.quit(mail_conn);
--EXCEPTION
  --  WHEN OTHERS THEN
        -- Handle the error
 
END
/ | 
 Seulement quand je tente d'envoyer un mail, j'ai le message suivant qui s'affiche :
ORA-06550 line string, column string:string
Cause: A PL/SQL compilation error has occurred. The numbers given for line and column are the location in the PL/SQL block where the error occurred. 
Action: Refer to the following PL/SQL messages for more information about the error. 
Quelqu'un aurait -il la solution à mon problème ?
Merci.