ORA-29278: SMTP temporary error: 421 Service not available

Hello

I am struck intermittently
ORA-29278: SMTP transient error: 421 Service not available 
on
DB Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
Please let me know if additional information is required.

Any ideas would be appreciated.

Thank you
CJM

Assuming that you are still connected to the same SMTP server, this means that the SMTP server intermittently is down or inaccessible (at least on the port that you are using). Most likely, it would be a problem to address to the administrator of the mail server even if it could be an intermittent network problem.

Justin

Tags: Database

Similar Questions

  • UTL_MAIL works do not, but apex_mail... any ideas? (SMTP transient error: 421 Service not available)

    Start

    () UTL_MAIL. Send

    recipients = > ' [email protected] ',

                   sender       => ' [email protected] ',

    subject = > "this is an issue."

    message = > 'This is a message');

    end;

    ORA-29278: SMTP temporary error: 421 Service not available

    ORA-06512: at "SYS." UTL_MAIL", line 654

    ORA-06512: at "SYS." UTL_MAIL", line 671

    ORA-06512: at line 2

    Start

    apex_mail. Send

    (

          p_to       => ' [email protected] ',    

    p_from = > ' [email protected] ',  

    p_subj = > 'this is a topic. "

    p_body = > 'This is a message'

    );

    apex_mail.push_queue ();

    end;

    Works very well.

    (of course, I use the correct recipient/sender names).

    For what it's worth, I have a second server with the same ACL settings and utl_mail is working on that one, but I don't know what is different.

    Any help much appreciated.

    You will get an ORA-29278 if you smtp_out_server instance parameter is not assigned to a working SMTP service.

    --

    John Watson

    Oracle Certified Master s/n

  • How do I resolve the error "421 Service not available.

    Hello

    Can someone help to solve the "421 Service not available" error I tried to send emails with three different smtp servers.

    the error I get this error: -.

    ERROR on line 1:
    ORA-20000: cannot send an e-mail: ORA-29278: SMTP temporary error: 421 Service not available
    ORA-06512: at "SYS." SEND_MAIL', line 34
    ORA-06512: at line 1


    Thanks in advance
    Uttam Singh

    This problem on the SMTP server.

    You should check with the system administrator.

    Maybe your server via SMTP SSL SMTP.

    problem sending mail with UTL_SMTP (STARTTLS)?

    or try

    UTL_SMTP.command (conn, 'STARTTLS');

  • Sending a message using UTL_SMTP, get the error ORA-29278: SMTP temporary error

    Hi all

    I try to send mail from oracle plsql. for that I use the below mode operative but unfortunately not able to move forward.
    SQL> select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    procedure is
    CREATE OR REPLACE PROCEDURE send_mail (p_to        IN VARCHAR2,
                                           p_from      IN VARCHAR2,
                                           p_message   IN VARCHAR2)
    AS
      l_mail_conn   UTL_SMTP.connection;
      l_reply utl_smtp.reply;
      l_smtp_host VARCHAR2(50) := 'smtp.gmail.com:25';
      l_smtp_port NUMBER := 25;  
    BEGIN
      l_mail_conn := UTL_SMTP.open_connection(l_smtp_host, l_smtp_port);
      utl_smtp.EHLO(l_mail_conn, l_smtp_host);
      utl_smtp.command(l_mail_conn, 'AUTH LOGIN');
      utl_smtp.command(l_mail_conn, utl_raw.cast_to_varchar2(utl_encode.base64_encode(utl_raw.cast_to_raw('[email protected]'))));
      utl_smtp.command(l_mail_conn, utl_raw.cast_to_varchar2(utl_encode.base64_encode(utl_raw.cast_to_raw('mypwd'))));
      l_reply :=UTL_SMTP.mail(l_mail_conn, p_from);
      dbms_output.put_line( l_reply.code || ' ' || l_reply.text );
      UTL_SMTP.rcpt(l_mail_conn, p_to);
      UTL_SMTP.write_data(l_mail_conn, p_message || UTL_TCP.crlf || UTL_TCP.crlf);
      UTL_SMTP.quit(l_mail_conn);
    END;
    /
    call you as follows
    declare
     conn        utl_smtp.connection;
     smtp_domain VARCHAR2(256) := null;
     BEGIN
     utl_smtp.command(conn,'STARTTLS');
     utl_smtp.helo(conn, smtp_domain);
       send_mail(p_to        => '[email protected]',
                 p_from      => '[email protected]',
                 p_message   => 'can i get message.');
     END;
     /
    and the error
    ORA-29278: SMTP transient error: 421 Service not available
    ORA-06512: at "SYS.UTL_SMTP", line 21
    ORA-06512: at "SYS.UTL_SMTP", line 97
    ORA-06512: at "SYS.UTL_SMTP", line 159
    ORA-06512: at line 5
    I checked in Control Panel that IIS is installed and also SMTP is configured.
    I am able to ping HOST SMTP thro' TELNET

    and I changed the parameter, SMTP_OUT_SERVER, as
    ALTER SYSTEM SET SMTP_OUT_SERVER= 'smtp.gmail.com:25' scope = both
    I don't get no idea. is this due to use the GMAIL Server?

    Oracle 10 g and Windows version is XP - SP3

    Thanks for any help

    Concerning
    Knockaert

    When I googled for "Gmail PL/SQL" I find a lot of things, including the articles of blog with code examples. How about you?

  • ORA-29278: SMTP temporary error

    Hi all

    database: oracle database 10 g 2

    OS - win 7

    I went through the following steps to send the mail to the oracle database.

    c:\ > sqlplus "/ as sysdba".

    SQL > @E:\oracle_home\rdbms\admin\utlmail.sql

    SQL > @E:\oracle_home\rdbms\admin\prvtmail.plb

    SQL > alter system set smtp_out_server = 'smtp.gmail.com:25' scope = spfile;

    SQL > grant execute on utl_mail to scott;

    and in the scott schema I will carry out the following procedure

    port 25 is running

    I test with the command-> telnet 127.0.0.1 25 and netstat-a

    Start

    () UTL_MAIL. Send

    sender = > ' [email protected] ',

    recipients = > ' [email protected] ',

    subject = > 'Test ',.

    message = > 'oracle Message ".

    );

    end;

    get the error

    ORA-29278: error temporary smtp

    Follow the steps listed here: send emails using the package UTL_MAIL Oracle and Google GMAIL SMTP server: jackass.io

  • SMTP service not available

    Hello

    How to send mail via the following code?

    CREATE OR REPLACE PROCEDURE send_mail (p_to IN VARCHAR2,
    P_FROM IN VARCHAR2,
    p_message IN VARCHAR2,
    p_smtp_host IN VARCHAR2,
    p_smtp_port in DEFAULT NUMBER 25)
    AS
    sys l_mail_conn. UTL_SMTP. Connection;
    BEGIN
    l_mail_conn: = sys. UTL_SMTP.open_connection (p_smtp_host, p_smtp_port);
    sys. UTL_SMTP. HELO (l_mail_conn, p_smtp_host);
    sys. UTL_SMTP.mail (l_mail_conn, p_from);
    sys. UTL_SMTP. RCPT (l_mail_conn, p_to);
    sys. UTL_SMTP. Data (l_mail_conn, p_message |) UTL_TCP. CRLF. UTL_TCP. CRLF);
    sys. UTL_SMTP. Quit (l_mail_conn);
    END;
    /


    BEGIN
    send_mail (p_to = > '[email protected]',)
    P_FROM = > '[email protected] ',.
    p_message = > "This is a test message."
    p_smtp_host = > 'mail.google.com');
    END;
    /


    ERROR:

    ORA-29278: SMTP temporary error: 421 Service not available
    ORA-06512: at "SYS." UTL_SMTP", line 20
    ORA-06512: at "SYS." UTL_SMTP", line 96
    ORA-06512: at "SYS." UTL_SMTP", line 138
    ORA-06512: at the 'APPS '. SEND_MAIL', line 9
    ORA-06512: at line 2


    Please, help me get through the error.


    Thanks in advance,
    Pradeep

    Published by: user11165897 on December 7, 2012 02:27

    Hello

    Here, all input values are false.

    By providing the correct host, email, port, it works fine now...

    Pradeep

  • HttpConnection MDS Service not available

    Hello

    Ive deployed an application to my Blackberry 9700.

    When I test the app I get an error ' MDS Service not available: u12f.

    I don't get this error when I use the Simulator.

    I use the following code.

    factory = DocumentBuilderFactory.newInstance();
    builder = factory.newDocumentBuilder();
    httpConnection = (HttpConnection) Connector.open(url+ ";ConnectionTimeout=9000");
    inputStream = httpConnection.openInputStream();
    document = builder.parse(inputStream);
    

    Strange thing is I have access to the internet and my phone is running through BES.

    What is a proxy thing? Y at - it code to determine that the device uses to access the internet?

    Please help me

    Thank you

    Ah ok, I realized that blackberry can connect to the internet in a number of ways, and the program should check for the latter.

    The answer of

    http://blog.accelgolf.com/2009/05/22/BlackBerry-cross-carrier-and-cross-network-HTTP-connection

    Thank you

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

    Hello


    I get below error frequently in the log database alerts.


    ORA-12012: error on auto work 754461

    ORA-29279: SMTP permanent error: ORA-29279: SMTP permanent error: 501 Syntax error, command parameters ' 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 the 'APPS '. EIS_UTIL_PKG', line 94

    ORA-06512: at the 'APPS '. HKD_PO_ADDON_PKG', line 110

    ORA-06512: at line 1

    The syntax error comes from the SMTP server, not to the job itself, so I disagree with your solution.

  • UTL. MAIL error ORA-29279: SMTP permanent error: 501 syntax of address error in

    Hello

    I'm new to the forum please excuse if I post not properly without standards.

    We need to send mails using the UTL. MAIL package and installed them on the database.
    Whenever I try to send an email, I get the following error:

    ERROR on line 1:
    ORA-29279: SMTP permanent error: 501 syntax of address 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 that I am running is:

    BEGIN
    UTL_MAIL. Send (sender = > 'test < [email protected] >',)
    recipients = > "[email protected]"
    subject = > 'test UTL_MAIL subject. "
    message = > "UTL_MAIL test body");
    END;

    I tried different combinations:

    BEGIN
    UTL_MAIL. Send (sender = > "test"< [email protected] >"")
    recipients = > "[email protected]"
    subject = > 'test UTL_MAIL subject. "
    message = > "UTL_MAIL test body");
    END;

    even tried

    BEGIN
    UTL_MAIL. Send (sender = > '[email protected]',)
    recipients = > "[email protected]"
    subject = > 'test UTL_MAIL subject. "
    message = > "UTL_MAIL test body");
    END;

    Whenever I get the same error.
    It seems to work with a server exchange e-mail, but never on the SMTP server.

    In the SMTP address of the sender server logs is not to have the <>of brackets unlike other emails that are sent to the course.
    It seems that the SMTP server is quite strict and the SMTP administrator will change all the settings on the server.

    The version of oracle is as follows

    Oracle Database 11 g Release 11.2.0.1.0 - 64 bit Production

    Could you please help me with a solution.
    Some how the brackets are undressing (which usually UTL MAIL package), is it possible that I can include the brackets.

    Published by: 984757 on January 29, 2013 02:56

    Published by: 984757 on January 29, 2013 02:57

    I don't like UTL_MAIL - UI abstraction clumsy and poor and not very well written.

    Had a look at the code. It does this:

    WHILE (ALL_RCPTS IS NOT NULL) LOOP
          UTL_SMTP.RCPT(MAIL_CONN,'<' || GET_ADDRESS(ALL_RCPTS) || '>');
    END LOOP;
    

    The process function GET_ADDRESS() ALL_RCPTS parameter, returns the address 1 of him and updates (in and out) parameter with the remaining string.

    SQL> var address varchar2(200);
    SQL> exec :address := ',[email protected]';
    
    PL/SQL procedure successfully completed.
    
    SQL> exec dbms_output.put_line( 'get_address='||UTL_MAIL.GET_ADDRESS(:address)||' address='||: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 );
    [email protected] address=
    
    PL/SQL procedure successfully completed.
    
    SQL> 
    

    The address is explicitly surrounded by square brackets in accordance with RFC. So what needs to see your SMTP server.

    If this isn't the case-maybe then our UTL_MAIL versions do not match. I don't remember what version I pulled and unpacked UTL_MAIL package code I have.

    Personally, I stopped using the UTL_MAIL earlier. Missing in may points. I wrote my own e-mail package that supports multiple attachments, formatting complex Mime, attachments of 20 + MB in size and so now - running on the UTL_SMTP interface (which provides for mail transport layer). And for the problems you are having, I suggest considering using UTL_SMTP directly.

    Published by: Billy Verreynne on 29 January 2013 12:52
    (Updated with names of entities HTML code for the code snippet to render correctly)

  • ORA-29279: SMTP permanent error: 535 authorization failed (#5.7.0)

    Hello

    Can someone help me to find the number in the given pakg.
    I'm tring to send e-mails through this package, but I make a few mistakes: -.

    create or replace package body mail_pkg
    as
    function address_email (p_string in varchar2,
    p_recipients table) return varchar2
    is
    long l_recipients;
    Start
    because me in 1... p_recipients. Count
    loop
    UTL_SMTP. RCPT (g_mail_conn, p_recipients (i));
    If (l_recipients is null)
    then
    l_recipients: = p_string | p_recipients (i);
    on the other
    l_recipients: = l_recipients | ', ' || p_recipients (i);
    end if;
    end loop;
    Return l_recipients;
    end;

    procedure writeData (p_text in varchar2)
    as
    Start
    If (p_text is not null)
    then
    UTL_SMTP.write_data (g_mail_conn, p_text | g_crlf);
    end if;
    end;

    procedure to send (p_sender_email in varchar2,
    P_FROM in varchar2,
    p_to in the table by default array(),
    p_cc in the table by default array(),
    p_bcc in the table by default array(),
    p_subject in varchar2,
    p_body long)
    is
    long l_to_list;
    long l_cc_list;
    long l_bcc_list;
    l_date VARCHAR2 (255) default TO_CHAR (SYSDATE, 'dd my hh24:mi:ss yy') | ' + 8:00 (GMT + 08:00) ";

    Start
    SELECT PARAM_VALUE IN g_mailhost OF IHR_PARAM_DATA
    WHERE PARAM_CODE = 'MAIL_HOST' AND
    ((CATÉGORIE = S ')) AND
    (((FROM_DATE EST NULL) AND (TO_DATE IS NOTHING)) OR)
    ((FROM_DATE EST NULL) AND (TO_DATE > = trunc (sysdate))) OR
    ((FROM_DATE < = trunc (sysdate)) AND (TO_DATE IS NULL)) OR
    ((FROM_DATE < = trunc (sysdate)) AND (TO_DATE > = trunc (sysdate))) AND
    SEQUENCE = (SELECT MIN (SEQUENCE) IHR_PARAM_DATA
    WHERE PARAM_CODE = 'MAIL_HOST' AND
    ((CATÉGORIE = S ')) AND
    (((FROM_DATE EST NULL) AND (TO_DATE IS NOTHING)) OR)
    ((FROM_DATE EST NULL) AND (TO_DATE > = trunc (sysdate))) OR
    ((FROM_DATE < = trunc (sysdate)) AND (TO_DATE IS NULL)) OR
    ((FROM_DATE < = trunc (sysdate)) AND (TO_DATE > = TRUNC (SYSDATE))) );

    g_mail_conn: = utl_smtp.open_connection (g_mailhost, 25);
    UTL_SMTP. HELO (g_mail_conn, g_mailhost);
    UTL_SMTP.command (g_mail_conn, 'auth login');
    UTL_SMTP.command (g_mail_conn,
    mail_pkg.f_base64_encode_raw (utl_raw.cast_to_raw ('mailuser')));
    UTL_SMTP.command (g_mail_conn,
    mail_pkg.f_base64_encode_raw (utl_raw.cast_to_raw('***')));
    UTL_SMTP.mail (g_mail_conn, p_sender_email);
    l_to_list: = address_email ("to:", p_to);
    l_cc_list: = address_email ("Cc:", p_cc);
    l_bcc_list: = address_email ("Bcc:", p_bcc);
    UTL_SMTP.open_data (g_mail_conn);

    writeData (' Date: ' | l_date);
    writeData (' to: ' | nvl (p_from, p_sender_email));
    writeData (' subject: ' | nvl (p_subject, '(aucun sujet) "));

    writeData (l_to_list);
    writeData (l_cc_list);

    UTL_SMTP.write_data (g_mail_conn, "| g_crlf);
    UTL_SMTP.write_data (g_mail_conn, p_body);
    UTL_SMTP.close_data (g_mail_conn);
    UTL_SMTP. Quit (g_mail_conn);
    end;
    end;


    I get the below error when tring to run the procedure, even if my e-mail and password are correct.

    ERROR on line 1:
    ORA-29279: SMTP permanent error: 535 authorization failed (#5.7.0)
    ORA-06512: at "SYS." UTL_SMTP", line 21
    ORA-06512: at "SYS." UTL_SMTP", line 99
    ORA-06512: at "SYS." UTL_SMTP", line 159
    ORA-06512: at "SYSTEM. SEND_MAIL', line 12
    ORA-06512: at line 1

    pls help;

    Thank you
    Uttam Singh

    Published by: Uttam Singh on December 26, 2008 19:56

    Uttam,

    This error is due to wrong settings of the SMTP server. Oracle, very probably has nothing to do with it. If I remember correctly, you are using Gmail for her. I guess there is a problem with it. Try with some other parameters of the field. I'll try to use the same with my own domain name. In the meantime, enjoy these two link.
    http://www.williamrobertson.NET/code/utilities.pkg.txt
    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:2118740358226 #9206460145191
    HTH
    Aman...

  • Service not available error with SSAS cube

    Hello

    We have imported Microsoft Analysis Services (SSAS) by using XMLA RPD Cube.  While using the drill down one-touch in BI answers using hierarchies of presentation, OBIEE generates the following error


    Error codes: OPR4ONWY:U9IM8TAC:OI2DL65P

    Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 43119] Query failed: URL: http://< Server > / < application name > / msmdpump.dll. The http return status is 503. < html > < head > < title > Service not available < / title > < / head > < body > Service not available < body / > < / html >

    However, drill down one-touch works very well with the attribute columns. Alsoit stand is works well up to certain level of zoom. In the journal, it is obvious that OBIEE generates multiple physical queries (with clause) to extract the data in the cube.

    Is there a limit on the size of the mdx or number of mdx queries that msmdpump.dll can treat?  Is there any configuration to be changed when you are working with SSAS cubes?

    Version OBIEE: 11.1.1.6.2 BP1

    Very much appreciate your time.

    The error is due to the inadequacy of the maximum number of connections in the connection pool and the MaxThreadsPerClient of XMLA parameter in analysis services.

    The default values are 10 and 4, respectively. Then adjust the number of values of connections in the connection pool and MaxThreadsPerClient of XMLA will solve the problem.

  • ORA-29279: SMTP permanent error: 530 5.7.0 must issue a STARTTLS command fi

    Hello friend

    I changed my smtp server to send email, but now I get a different as error below

    ORA-29279: SMTP permanent error: 530 5.7.0 must issue a STARTTLS command first. 2sm141783tif.39

    I don't know what is the STARTTLS command.

    Pls help me.

    Thank you
    Uttam SIngh

    Uttam,

    Obviously the STARTTLS is a SMTP command.
    This is a forum on ORACLE.
    Of course, you can google STARTTLS!
    Could you PLEASE, PLEASE, PLEASE be a little more industrious and stop cluttering up this forum with irrelevant questions?

    THANKING YOU IN ADVANCE
    -----
    Sybrand Bakker
    Senior Oracle DBA

  • OCIEnvCreate failed with return code-1, but the text of the error message was not available. »

    OCIEnvCreate failed with return code-1, but the text of the error message was not available. »

    I get this message (error) after update my customer Oracle 9.0 to 10.1 (used in the .net Oracle connection)

    I would like to get a resolution? If someone has experiece with her.

    THX

    Hello

    To improve assistance to this subject, you can ask your question in the MSDN Forums.

    NET Framework

    http://social.msdn.Microsoft.com/forums/en-us/category/netdevelopment

  • Cannot use the set option in WMP, error: Media is not available and cannot access the server.

    Original title: W7 error play "Media is not available.

    On W7 Ultimate, I'm having a problem in the use of "play to" media action to my Sony TV. The tv is visible as a device and it is the same for the laptop to the TV. On laptop I get the error: "themedia is not available." Similarly, when I try to access the laptop to TV, I get error "can not access the server. any solution?

    What exact model Sony TV? You may need to install additional software
    See the content if you want to browse the content on the computer from the computer
    the TV. as to play to, see
    for beginners.
     
     
    Barb
     
    MVP - Windows/entertainment and connected home
     
     
    Please mark as answer if that answers your question
     
     
     
     
  • E.M.P. automate connection due to lack of EPMAT - 11:Service not available

    I'm currently trying to create some automatisms to connect and a dimension to export. My only question is based on what the EPM automate tells me that I need to settings does not work. Can anyone help?

    These are the settings he seeks and below is what I got.

    D:\Oracle\EPM Automate\bin > epmautomate login help

    Use: epmautomate login username password url identitydomain

    Parameters:

    user administrator user name to run the following commands

    password of the user

    URL Url of the server cloud environment

    Syntax: http[s]://abcd.oracle.com:1234

    identitydomain domain name of identity within the public cloud oracle s

    service

    Syntax: OxcorpProduction

    epmautomate connection [email protected] JoesPassword

    https:// company23411.PBCs.US2.oraclecloud.com company23411

    The above syntax is just returned with

    EPMAT - 11:Service not available

    Help, please.

    Yes you are right, you don't need to specify the connection method again.

    I think my encryption came out like that. You can stick and give it a try. file .prefs is created right after a successful login, since you aren't able to do I am trying to see if you can manually creating the file.

    Concerning

    Celvin Kattookaran

Maybe you are looking for

  • microphone in labview data acquisition

    Hello My name is Michael. I want to get micro data in labview using connection jack 3.5 mm on my laptop. I looked in daqmax and did not see the microphone. Is it possible to enter these data in labview? Any help will be great. Thank you Michael

  • Pavilion HP go administrator password

    I have a hp Pavilion g6 that guard showing disabled code 75799982 when I try to put the password in 3 times someone can help please

  • LabelField Scrollable

    I have to show some information. If the information is more than one line, it will be automatically breaks into several lines. To do this, I created my own CustomLabelField. It works very well. But when I add several CustomLabelFields in a VerticalFi

  • m9400t: failed to get sorround audio output audio over HDMI, stereo only

    I recently bought a computer desktop m9400t, equipped with a hdmi card. After you connect via hdmi to my receiver (which is connected to a HD TV) and select the HDMI as my audio device, I am able to get sound via HDMI, but I get stereo sound. I can't

  • JQuery working on some pages, but not all

    HelloI added a bit of javascript, JQuery scripts to my site.  My main site has a sticky menu script and a script of back button up.  Everything works fine on www.performanceaire.com.I recently added a new section of the site that looks like a separat