UTL_MAIL.send - 5.1.0 address does not conform to RFC 2821 syntax
302496Apr 27 2006 — edited Apr 27 2006Hi,
I am trying to get the UTL_MAIL package to run on my instance..
But unfortunatly all examples fail...
For example :
BEGIN
UTL_MAIL.send(sender => '<webmaster@nederlandsevereniging.at>',
recipients => '<webmaster@nederlandsevereniging.at>',
cc => '<webmaster@nederlandsevereniging.at>',
bcc => '<webmaster@nederlandsevereniging.at>',
subject => 'UTL_MAIL Test',
message => 'If you get this message it worked!');
END;
results in following error message :
ORA-29279: SMTP permanent error: 553 5.7.1 webmaster@nederlandsevereniging.at... 5.1.0 address does not conform to RFC 2821 syntax
Adding or removing the by the RFC 2821 required <> around the email addresses does not make any difference...
I have checked the SMTP log, and in there the email addresses are stated WITHOUT the <> .....
Somehow i am assuming that UTL_MAIL stripes the <> from the email address before submitting it to the SMTP server....
Any ideas how to fix or debug ??
Regards,
Fred
P.S. I have been submitting this from the 'SQL Commands' window, might this be the problem ?? If so, how else to test email functionality?
Message was edited by:
frotfrot