UTL_MAIL: ORA-29279..... 501 badly formatted MAIL FROM user - no " "

Hi guys,
I’m trying to redesign a current process that requires a large amount of manual intervention. As such I’d like to utilise UTL_MAIL to send notifications of system events but have been unable to get it to execute on my dev database (installed on my local PC).
O/S ver:
Windows XP SP3
Oracle ver:
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
PL/SQL Release 10.2.0.3.0 - Production
CORE    10.2.0.3.0      Production
TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
I’ve configured the smtp_out_server parameter:
SQL> sho parameter smtp_out_server;
NAME                                 TYPE        VALUE
smtp_out_server                  string        XXX.XXX.XXX.80:25
And installed the required Oracle built in packages:
SQL> @C:\oracle_builtins\utlmail.sql
Package created.
Synonym created.
SQL> @C:\oracle_builtins\prvtmail.plb
Package body created.
No errors.
I’ve compiled a simple test version of the code:
CREATE OR REPLACE PROCEDURE test_email IS
BEGIN
UTL_MAIL.send(sender     => '[email protected]',
recipients => '[email protected]',
subject    => 'UTL_MAIL test subject',
message    => 'UTL_MAIL test body');
END;
+/+
SQL> @C:\procs\email_proc.sql
Procedure created.
However when I execute it I get the attached error(s):
SQL> execute test_email ;
BEGIN test_email ; END;
*+
ERROR at line 1:
ORA-29279: SMTP permanent error: 501 badly formatted MAIL FROM user - no <
ORA-06512: at "SYS.UTL_SMTP", line 21
ORA-06512: at "SYS.UTL_SMTP", line 99
ORA-06512: at "SYS.UTL_SMTP", line 222
ORA-06512: at "SYS.UTL_MAIL", line 397
ORA-06512: at "SYS.UTL_MAIL", line 608
ORA-06512: at "SYS.TEST_EMAIL", line 3
ORA-06512: at line 1
I’ve also confirmed with our mail team that the sender is included in our firewall config and should not be being blocked……
Any ideas? Does the package produce any log files / alerts that I could check or is it possible to execute in a verbose mode so I can debug?
Thanks,
Chris

Welcome to the forum.
That error comes from your SMTP server, and it indicates there's something wrong with the email address.
You could try the following and see if that works:
CREATE OR REPLACE PROCEDURE test_email
IS
BEGIN
  UTL_MAIL.send(sender => 'test <[email protected]>',
                recipients => '[email protected]',
                subject => 'UTL_MAIL test subject',
                message => 'UTL_MAIL test body'
END;
/Some more inputs can be read here: Reg.SMTP Error while using UTL_MAIL in Oracle 10g
Also, when you want post formatted examples, just use the {noformat}{noformat} tag before and after your examples.
So, when you type:
{noformat}select *
from dual;{noformat}
it will appear as:select *
from dual;when you post it.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • ORA-20002: 501 Bad syntax error

    Hi,
    I intend to send a simple smtp mail using the builtin UTL_SMTP package.
    But i get the following error:-
    ORA-20002: 501 Bad syntax error
    Here is my code:-
    CREATE OR REPLACE PROCEDURE mail
    IS
    BEGIN
    DECLARE
    v_connection UTL_SMTP.CONNECTION;
    BEGIN v_connection := UTL_SMTP.OPEN_CONNECTION(<my host here>,25);
    dbms_output.put_line('Connection Opened');
    UTL_SMTP.HELO(v_connection,<my host here>);
    dbms_output.put_line('After calling helo');
    UTL_SMTP.MAIL(v_connection,'[email protected]');
    dbms_output.put_line('Sender set');
    UTL_SMTP.RCPT(v_connection,'[email protected]');
    dbms_output.put_line('Recipient Set');
    UTL_SMTP.DATA(v_connection,'Sent From PL/SQL');
    dbms_output.put_line('Message body set');
    UTL_SMTP.QUIT(v_connection);
    dbms_output.put_line('Connection Closed');
    end;
    END;
    Here is the output:-
    SQL> exec mail
    Connection Opened
    After calling helo
    BEGIN mail; END;
    ERROR at line 1:
    ORA-20002: 501 Bad address syntax
    ORA-06512: at "SYS.UTL_SMTP", line 86
    ORA-06512: at "SYS.UTL_SMTP", line 204
    ORA-06512: at "ADMIN.MAIL", line 13
    ORA-06512: at line 1
    I tried sending mails to my smtp server via java mailing API and i am
    successful. So i am wondering wat i am doing wrong up there in Oracle.
    I have JServer enabled, i also ran the initplsj.sql successfully.
    Please help.
    Regards,
    Leo.

    Hi APC,
    Yep HELO returns 250. Here is the code i use followed by the output. I use valid e-mail addresses(changed them here cz they belong to real ppl :) ). Again, i am able to send mails via java mailing API's, to the same recipietn from same sender via same smtp server.
    Code :------
    CREATE OR REPLACE PROCEDURE mail
    IS
    v_connection UTL_SMTP.CONNECTION;
    value UTL_SMTP.reply;
    PROCEDURE send_header(name IN VARCHAR2, header IN VARCHAR2) AS
    BEGIN
    UTL_SMTP.write_data(v_connection, name || ': ' || header || utl_tcp.CRLF);
    END;
    BEGIN
    v_connection := UTL_SMTP.OPEN_CONNECTION('smtp.server',25);
    dbms_output.put_line('Connection Opened');
    dbms_output.put_line('before calling helo');
    value := UTL_SMTP.HELO(v_connection,'smtp.server');
    dbms_output.put_line('after calling helo');
    dbms_output.put_line('code ' || value.code);
    dbms_output.put_line('before Sender is set');
    value := UTL_SMTP.MAIL(v_connection,'[email protected]');
    dbms_output.put_line('code ' || value.code);
    dbms_output.put_line('text ' || value.text);
    UTL_SMTP.RCPT(v_connection,'[email protected]');
    dbms_output.put_line('Recipient Set');
    UTL_SMTP.open_data(v_connection);
    send_header('From','"Sender" <[email protected]>');
    send_header('To','"Recipient" <[email protected]>');
    send_header('Subject','Hello');
    UTL_SMTP.write_data(v_connection, UTL_TCP.CRLF || 'Hello, world!');
    UTL_SMTP.close_data(v_connection);
    dbms_output.put_line('Message body set');
    UTL_SMTP.QUIT(v_connection);
    dbms_output.put_line('Connection Closed');
    END;
    Output:--------
    Connection Opened
    before calling helo
    after calling helo
    code 250
    before Sender is set
    code 501
    text Bad address syntax
    Looking forward to hearing from youself. :)
    Reagrds,
    Leo.

  • How to send formatted mail from form 6i

    Hi,
    There is requirment in my project to send formatted mail from form 6i.The database used in 9i.In normal form we can send normal mail.However our requirment is such that the mail content should have company logao pics and it should display data in coloured format based on data fetched from database.How can this be done.
    l

    What method are you using to send email from your form now? If you are using UTL_SMTP, you can set the MIME_TYPE = 'HTML' as Francois suggests. If you are using an OLE call to Outlook or a email JavaBean? The method you use to send email will dictate how you send Rich Text/HTML email messages.
    Craig...

  • HTML format mail from UTL_SMTP

    Hi ,
    I am on Oracle 8.1.7 on Unix. I am using utl_smtp package to send emails from database and successfully sending plain text emails.
    I want to send HTML formatted mails. How can I do that ?
    Please suggest .
    Regards

    I have used the package bu I have not uset it to send
    e-mails with HTML Format. Check from the page 1807.
    UTL_SMTP
    http://download-east.oracle.com/docs/cd/B10501_01/appdev.920/a96612.pdf
    Joel P�rez

  • Procedure/sample code to download alv output in HTM format & mail to user.

    Hello Experts,
    I've a requirement to run the Alv report at background. But i need to download the alv output in HTM fomat because it has subtotal values & look wise downloaded HTM format will be same as that of ALV output. Then send the attachment through mail to users. I'm not intersted in  downloading  internal table dierctly to HTM format.
    Will the code for alv display & downloading in HTM format & forwarding via email  is all done in one single  program or in 2 differnt programs . pls guide me on this.
    I'm using FM REUSE_ALV_GRID_DISPLAY to display output with subtotals.
    Pls anyone there suggest me the steps to download ALV output in HTM format & the forward the same  to user ID through Lotus notes.
    Regards
    Devika.S

    Hi,
    This can be achieved without coding .
    Fore ground Scenario:
    1. Downloading as HTM . In foreground you can do this by using Export---> Local file
    option in ALV grid.
    Background Scenario:
    2. In background while sending mail , You have to achieve the same through customisation settings as wexplained below.
    In SM36 -- > Spool List Recipient, give the reciepient id and click on copy. Now when the Background job will be finished,
    the reciepient mentioned above will recieve the mail , but in ALI format.
    To convert the same to HTM format, you need to do customisation changes in SCOT
    goto SCOT>Expant the node INT>Double click on Email-->Beside Internet we have SET tab , click on that -->
    select the radio button " all formats except the following ">In the near by box type ALI>then click on the tick Mark.
    Then go to SCOT>Settings>Conversion Rules-->there
    create a new row with, Format->ALI , To Format->HTM , Ranking 1, FM -> SX_OBJECT_CONVERT_ALI_HTM.
    Now when the mail will be sent, it will not go in ALI, but in HTM format.
    Hope this helps you out.

  • Validate "work e-mail" from user information list --give me wrong result

    How can I validate the user "work email" from User Information List is working
    properly?
    I am following this >> http://social.msdn.microsoft.com/Forums/sharepoint/en-US/e4d41f77-c7e4-40ef-b85f-de7f972f2a3f/allow-submitter-see-only-the-items-that-are-relevant-to-him-in-drop-down-list?forum=sharepointcustomizationprevious#4d63b721-7acb-463a-b578-87eb1d72b5f1
    But instead to get the correct work email I am getting >>domain \usernamedomain
    \username domain \username  (example: americas\admin_andress_belloamericas\admin_andress_belloamericas\admin_andress_bello)  
    CRISTINA&amp;amp MICROSOFT Forum

    Hi,
    How did you validate the work e-mail?
    I recommend to set another text field to get the email of the user from User Information List and then use the text field for validation.
    Could you please provide an example of your requirement for reproducing this issue?
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Error when sending HTML format mail from Oracle 9i forms

    Dear All,
    i have created one procedure with 15 in parameter by which i can send mail in HTML format. due to length problem i am using 15 parameter, every parameter has length 32767, i am splitting HTML coding after every parameter length fulfilled
    when 3 or 4 parameter only fulfilled mail comes well, but more than 4 parameter fulfilled mail is not coming, will any one of you kindly please help me to resolve this
    following procedure i am using.......
    PROCEDURE P_SEND_MAIL( subject_p varchar2, salutation_p varchar2, plan_hdr_msg_p varchar2,
    plan_dtl_msg_p_1 varchar2, plan_dtl_msg_p_2 varchar2, plan_dtl_msg_p_3 varchar2, plan_dtl_msg_p_4 varchar2,
    plan_dtl_msg_p_5 varchar2, plan_dtl_msg_p_6 varchar2, plan_dtl_msg_p_7 varchar2, plan_dtl_msg_p_8 varchar2,
    plan_dtl_msg_p_9 varchar2, plan_dtl_msg_p_10 varchar2, plan_dtl_msg_p_11 varchar2, plan_dtl_msg_p_12 varchar2,
    plan_dtl_msg_p_13 varchar2, plan_dtl_msg_p_14 varchar2, plan_dtl_msg_p_15 varchar2, summary_p varchar2,
    cmplmntry_sign_msg_p varchar2, mailto_p varchar2 ) IS
    mail_from varchar2(100);
         mailhost varchar2(30) := 'MAIL-SRVR';
         crlf varchar2(10) := CHR(13)||CHR(10);
         mess_bdy varchar2(10000);
         Port number := 25;
         conn UTL_SMTP.CONNECTION;
    begin
         mail_from := 'IT-Department';
         mess_bdy := 'Date: ' ||TO_CHAR( SYSDATE, 'dd Mon yy hh24:mi:ss' )|| crlf ||
         'From:' ||mail_from|| crlf ||
         'Subject:'||subject_p|| crlf ||
         'To: ' ||mailto_P|| crlf ||'' || crlf;
         conn:= utl_smtp.open_connection( mailhost, Port );
         utl_smtp.helo( conn, mailhost );
         utl_smtp.mail( conn, mail_from);
         utl_smtp.rcpt( conn, mailto_P );
         utl_smtp.data( conn, 'MIME-Version: 1.0' ||CHR(13)|| CHR(10)||
         'Content-type: text/html' || CHR(13)||CHR(10)||
         mess_bdy||salutation_p||plan_hdr_msg_p
         ||plan_dtl_msg_p_1||plan_dtl_msg_p_2||plan_dtl_msg_p_3||plan_dtl_msg_p_4||plan_dtl_msg_p_5
         ||plan_dtl_msg_p_6||plan_dtl_msg_p_7||plan_dtl_msg_p_8||plan_dtl_msg_p_9||plan_dtl_msg_p_10
         ||plan_dtl_msg_p_11||plan_dtl_msg_p_12||plan_dtl_msg_p_13||plan_dtl_msg_p_14||plan_dtl_msg_p_15
         ||summary_p||cmplmntry_sign_msg_p);
         utl_smtp.quit( conn );
    exception
         when others then
         null;
    END;

    did u encounter any error?
    Be more clear in ur saying. As i understood that - is when coming to 5th parameter u r not able to access it. Is it right?
    Message was edited by:
    USER_X

  • Sending mail from user accounts

    I have recently switched from dial-up to broadband communications. My eMac has three user areas - my ‘system manager’ area plus two others.
    The problem is that the two sub-area users can no longer send e-mail messages. The error message is “mail.btinternet.com:<user name>@btinternet.com cannot be contacted on port 25” .
    I can only send mail via mailout.btinternet.com from the main account.
    All areas receive mail OK.
    Dial-up ISP is macunlimited.net
    Broadband ISP is btinternet.com
    I have read the relevant Help section and believe I have set up the two mail accounts in each sub-account correctly.
    Software on this Mac are OS: 10.4.3 and Mail 2.0.5

    Chris,
    This is very helpful, but I would never have understood that different User Accounts were being used on your Mac from the previous terminology.
    Let me approach when you are connected with btinternet acting as your ISP, first. It is normal, and not unusual, for the authentication of the SMTP to depend upon the primary email address they assign you -- this is probably your address, and with it you can probably change all the other addresses -- correct?
    Thus because you are using different User Accounts, when you wife or son is attempting to send, they do not have the benefit of your Username authenticating the SMTP (as would be the case if all three addresses are in use within one User Account and Mail at the same time). The following suggestion being successful will depend upon the exact method and policies of authentication used btinternet, but have your wife and/or your son to authenticate the OUTGOING server using the same entry for Username as you enter in Mail Preferences for your account.
    The same could be true for your dial-up ISP -- when you are unable to send with the SMTP for macunlimited.net, are you in fact connected via dial-up? If you are connected by dial-up and your account with macunlimited.net is the master or primary account, then I do not yet know why you cannot send.
    I hope this makes sense, and is not overly complicated.
    Ernie

  • UTL.MAIL error ORA-29279: SMTP permanent error: 501 Address Syntax Error in

    Hi,
    I am new to the forum so please excuse if I post incorrectly without conforming to the standards.
    We need to send mails using the UTL.MAIL package and have installed them on the database.
    Whenever I am trying to send an email I am getting the following error:
    ERROR at line 1:
    ORA-29279: SMTP permanent error: 501 Address Syntax Error in
    [email protected]
    ORA-06512: at "SYS.UTL_MAIL", line 654
    ORA-06512: at "SYS.UTL_MAIL", line 671
    ORA-06512: at line 2
    The test code which I am running is as follows:
    BEGIN
    UTL_MAIL.send(sender => 'test <[email protected]>',
    recipients => '[email protected]',
    subject => 'UTL_MAIL test subject',
    message => 'UTL_MAIL test body');
    END;
    I have tried different combinations:
    BEGIN
    UTL_MAIL.send(sender => 'test "<[email protected]>"',
    recipients => '[email protected]',
    subject => 'UTL_MAIL test subject',
    message => 'UTL_MAIL test body');
    END;
    even tried
    BEGIN
    UTL_MAIL.send(sender => '[email protected]',
    recipients => '[email protected]',
    subject => 'UTL_MAIL test subject',
    message => 'UTL_MAIL test body');
    END;
    Everytime I am getting the same error.
    This seems to be working with an exchange mail server but never on the SMTP server.
    In the SMTP server logs the sender address is not having the angular brackets <> unlike the other mails which are being sent over.
    It seems that the SMTP server is pretty strict and the SMTP admin will not change any settings on the server.
    The oracle version is as follows
    Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    Could you please help me out with a solution.
    Some how the angular brackets are geting stripped off (which UTL MAIL package generally does), Is there any way in which I can include the angular brackets.
    Edited by: 984757 on 29-Jan-2013 02:56
    Edited by: 984757 on 29-Jan-2013 02:57

    I dislike UTL_MAIL - clunky and poor abstraction interface, and not well written.
    Had a look at the code. It does this:
    WHILE (ALL_RCPTS IS NOT NULL) LOOP
          UTL_SMTP.RCPT(MAIL_CONN,'&lt;' || GET_ADDRESS(ALL_RCPTS) || '&gt;');
    END LOOP;The GET_ADDRESS() function process the ALL_RCPTS parameter, returns the 1st address from it, and updates the (in/out) parameter with the remaining string.
    SQL> var address varchar2(200);
    SQL> exec :address := '<[email protected]>,[email protected]';
    PL/SQL procedure successfully completed.
    SQL> exec dbms_output.put_line( 'get_address='||UTL_MAIL.GET_ADDRESS(:address)||' address='||:address );
    get_address=[email protected] address=[email protected]
    PL/SQL procedure successfully completed.
    SQL> exec dbms_output.put_line( 'get_address='||UTL_MAIL.GET_ADDRESS(:address)||' address='||:address );
    get_address=[email protected] address=
    PL/SQL procedure successfully completed.
    SQL> The address is explicitly surrounded by brackets as per the RFC. So that is what your SMTP server should see.
    If not - perhaps then our UTL_MAIL versions do not match. Cannot recall from what version I pulled and unwrapped the UTL_MAIL package code I have.
    Personally though, I've ceased using UTL_MAIL a while back. It lacks in may respects. I have written my own mail package that supports multiple attachment, complex Mime formatting, attachments of 20+ MB in size, and so on - running on the UTL_SMTP interface (that provides the transport layer for sending mail). And for issues like you are facing, I suggest considering using UTL_SMTP directly.
    Edited by: Billy Verreynne on Jan 29, 2013 12:52 PM
    (Updated the code with HTML entity names to get the code snippet to render correctly)

  • ORA-29279: SMTP permanent error: To Send Mail from Oracle 10g (10.2.0.1)

    I have installed Oracle 10g (10.2.0.1) on Windows XP (SP2) machine at my home PC.There is a broadband connection on my home PC.I have installed UTL_MAIL package and then set SMTP_OUT_PARAMETER by the following SQL Statement.
    My machine IP address is 192.168.0.3
    SQl> alter system set smtp_out_server = 'smtp.bsnl.in:25' scope = 25;
    Then we run the following script.
    BEGIN
    UTL_MAIL.SEND(
    SENDER => '[email protected]',
    RECIPIENTS => '[email protected]',
    SUBJECT => 'Testing UTL_MAIL',
    MESSAGE => 'The receipt of this email means'||
    'that it works for UTL_MAIL'
    END;
    Then following error message comes.
    BEGIN
    ERROR at line 1:
    ORA-29279: SMTP permanent error: 553 Authentication is required to send mail as
    <[email protected]>
    ORA-06512: at "SYS.UTL_SMTP", line 21
    ORA-06512: at "SYS.UTL_SMTP", line 99
    ORA-06512: at "SYS.UTL_SMTP", line 222
    ORA-06512: at "SYS.UTL_MAIL", line 407
    ORA-06512: at "SYS.UTL_MAIL", line 594
    ORA-06512: at line 2
    Can anybody suggest the solution of the above problem.

    Hi,
    is your smtp server configured to use anonymous connection?
    Attackwave
    Reply Code       Description
    211      System status, or system help reply
    214      Help message [Information on how to use the receiver or the meaning of a particular non-standard command; this reply is useful only to the human user]
    220      <domain> Service ready
    221      <domain> Service closing transmission channel
    250      Requested mail action okay, completed
    251      User not local; will forward to <forward-path>
    252      OK, pending messages for node <node> started. Cannot VRFY user (for example, info is not local), but will take message for this user and attempt delivery.
    253      OK, <messages> pending messages for node <node> started
    354      Start mail input; end with <CRLF>.<CRLF>
    355      Octet-offset is the transaction offset
    421      <domain> Service not available, closing transmission channel (This may be a reply to any command if the service knows it must shut down.)
    450      Requested mail action not taken: mailbox unavailable [for example, mailbox busy]
    451      Requested action terminated: local error in processing
    452      Requested action not taken: insufficient system storage
    453      You have no mail.
    454      TLS not available due to temporary reason. Encryption required for requested authentication mechanism.
    458      Unable to queue messages for node <node>
    459      Node <node> not allowed: reason
    500      Syntax error, command unrecognized (This may include errors such as command line too long.)
    501      Syntax error in parameters or arguments
    502      Command not implemented
    503      Bad sequence of commands
    504      Command parameter not implemented
    521      <Machine> does not accept mail.
    530      Must issue a STARTTLS command first. Encryption required for requested authentication.
    534      Authentication mechanism is too weak.
    538      Encryption required for requested authentication mechanism.
    550      Requested action not taken: mailbox unavailable [for , mailbox not found, no access]
    551      User not local; please try <forward-path>
    552      Requested mail action terminated: exceeded storage allocation
    *553      Requested action not taken: mailbox name not allowed [for example, mailbox syntax incorrect]*
    554      Transaction failed

  • ORA-29279: SMTP permanent error: 503 Issue MAIL FROM: command before RCPT T

    Hi all, i have a procedure called proc_send_mail, the procedure obviously, send a mail using utl_smpt. I use that procedure in many clients and just in one of them, i got this error (ORA-29279: SMTP permanent error: 503 Issue MAIL FROM: command before RCPT T).
    Here is my code:
    recStat := utl_smtp.helo(c, vServidor);
    vStatus := nvl(vStatus,'') || to_char(recStat.code) ||' '|| recStat.text;
    dbms_output.put_line('Status:'||vStatus);
    recStat := utl_smtp.mail(c, p_address_from);
    vStatus := nvl(vStatus,'') || to_char(recStat.code) ||' '|| recStat.text;
    dbms_output.put_line('Status3:'||vStatus);
    dbms_output.put_line('p_address_from:'||p_address_from);
    dbms_output.put_line('p_address_to:'||p_address_to);
    utl_smtp.rcpt(c, p_address_to);
    vStatus := nvl(vStatus,'') || to_char(recStat.code) ||' '|| recStat.text;
    dbms_output.put_line('Status2:'||vStatus);
    -- This is the message
    vMensagem := 'MIME-Version: 1.0' || chr(13) || chr(10);
    vMensagem := vMensagem ||'From: '|| p_mail_from ||' <'|| p_address_from ||'>'|| chr(13) || chr(10);
    vMensagem := vMensagem ||'Subject: '|| p_subject || chr(13) || chr(10);
    vMensagem := vMensagem ||'To: '|| p_mail_to ||' <'|| p_address_to ||'>'|| chr(13) || chr(10);
    vMensagem := vMensagem ||'Reply-To: '|| p_address_from || chr(13) || chr(10);
    So, i call:
    - utl_smtp.helo
    - utl_smtp.mail
    - utl_smtp.rcpt -----> in this i have trouble
    anyone can help me? I check the mail from and mail to, and they are correct.
    P.S: Sorry, my english is too bad.

    Hi,
    Many mail server provides like gmail use TLS/SSL for mail transmission. The error suggest your mail server is expecting a TLS/SSL connection.
    The TLS/SSL connection is not part of the UTL_SMTP and UTL_MAIL API. You have to either use Wallet as described here http://oracleblues.blogspot.in/2010/09/11g-release-2-11202-new-utlsmtp.html or use a third party tunneler like stunnel as described here http://monkeyonoracle.blogspot.in/2009/11/plsql-and-gmail-or-utlsmtp-with-ssl.html
    Cheers,

  • Why does it say Attachment Id has bad format when I try to reply or forward e-mail from my hotmail site??

    I receive an e-mail from a friend lets say....I then send it to some friends....they reply back to me saying... Ha Ha Ha Ha....I then want to reply back but it won't send...saying...Attachment Id has bad format...yet I've sent it once already? I don't get it.

    Delete any traces of Silverlight from your HD, you will be able to send attachments normally thereafter.

  • ORA-29279: SMTP permanent error: 501 5.5.2

    im getting the error
    ORA-29279: SMTP permanent error: 501 5.5.2 Syntax error in parameters scanning "FROM"
    kindly help . What is the problem exactly?

    I'm having this same issue now.
    This doesn't happen to my other databases on another server.
    Basically, I have a startup trigger that sends out mail, and I'm finding on database on a particular (new) server, UTL_SMTP is getting this error.
    Have you figured out your root cause?

  • Unable to send Email: ORA-29279: SMTP permanent error: 501 Syntax error in

    We have a procedure use utl_smtp in 10g (10.0.4). we got this msg (Unable to send Email: ORA-29279: SMTP permanent error: 501 Syntax error in arguments) when send e-mail to another mail box (internal),
    but we use the same procedure running in 10g(10.03) it works perfectly. Is Oracle 10g(10.0.4 vs. 10.0.3) causing this issue ? Can someone shed some lights on my head ? Thx.

    We found what is wrong about this.
    The problem is in CC we had a e-mail address has one space like this test [email protected] so UTL_smtp doesn't like this kind format then we recreated a new e-mail address without space and it works fine.

  • ORA-12012: error on auto execute of job 754461 ORA-29279: SMTP permanent error: ORA-29279: SMTP permanent error: 501 Syntax error, parameters in command "RCPT TO:" unrecognized or missing ORA-06512: at "SYS.UTL_SMTP", line 20 ORA-06512: at "SYS.UTL_SMTP",

    Hi ,
    I am getting below error frequently in alert log of database.
    ORA-12012: error on auto execute of job 754461
    ORA-29279: SMTP permanent error: ORA-29279: SMTP permanent error: 501 Syntax error, parameters in command "RCPT TO:" unrecognized or missing
    ORA-06512: at "SYS.UTL_SMTP", line 20
    ORA-06512: at "SYS.UTL_SMTP", line 98
    ORA-06512: at "SYS.UTL_SMTP", line 240
    ORA-06512: at "APPS.EIS_UTIL_PKG", line 94
    ORA-06512: at "APPS.HKD_PO_ADDON_PKG", line 110
    ORA-06512: at line 1

    You have a job running in the database. Its job ID is 754461
    It looks as if that job runs APPS.HKD_PO_ADDON_PKG
    That job is attempting to send mail using UTL_SMTP and apparently passing some strange value to SMTP server for the RCPT TO: parameter.

Maybe you are looking for

  • How do I downgrade to Firefox 3.6 from 4.0 until there is a compatable addon for 1Password?

    Firefox 4 does not support my 1Password add-on and I want to go back to Firefox 3.6 until there is an add-on supported by Firefox 4. How can I revert to the older version?

  • HTML DB form and reports in on the same Page

    I have a form take input from the user and two reports (please see the URL and LINK). If I click on the Staff report to populate the employee_no, name, and then click on the service report to populate the service_id, service name. The problem is if p

  • Canon HF20 - Issue w/ Log and Transfer in FCE

    I just bought Final Cut Express 4, How do you know if you have the most up to date version? How do you upgrade? The Video shows up, but it WILL NOT "log and transfer" I have tried to drag it down and drop it in and it acts like it will process it, bu

  • Wordpress menu DW Tutorial

    I followed Adobe's tutorial Editing a WordPress theme with Dreamweaver CS. Everything works fine apart from the links in the menu: I cannot get the on hover css applied to the buttons. Since I am working on a local server, I cannot show the test page

  • 6120c BIG BUG !

    When you restart phone during charging phone will not start, you will see white screen with batery indicator in right upper part of screen