Unable to send mail via SMTP Server authenticated using UTL_MAIL

Hello world...

I tried to send an e-mail message using UTL_MAIL on Oracle 10 g (10.2.0.1.0), but get the error:

ORA-29279: permanent SMTP error: 550 must be authenticated

I have run utlmail.sql and prvtmail.plb connected in SYSDBA and set SMTP_OUT_SERVER.

We have recently changed our email provider and a new requires authentication for the outgoing SMTP server, where the message that I get, but so far I have not found something on how to send the user name password to the procedure of 'send', in documentation or in previous discussions or other resources.

Could someone help me solve this problem?

Thanks in advance.

Not possible using UTL_MAIL, but if you roll your own using UTL_SMTP (which is what UTL_MAIL is written on the top) you can use the code fragment in Metalink Note 201639.1 to connect to a SMTP server using AUTH LOGIN.

Tags: Database

Similar Questions

  • Unable to send mail via exchange server with Version 38.0.1 - password problems

    Last week, when my computer desktop auto-upgraded to 38.0.1, he lost the ability to send mail with SMTP. (It always returns an error message saying that the password is not recognized). I went around and with the administration of the server, and they are sure that the problem is on my end. All server settings are correct, according to the administration of the server and, in any case, I do not change them what has worked with earlier versions of this morning, I finally had to restart Thunderbird on my home computer. I tested the Version 31 immediately before restart - it worked. Then I tried the Version 38.0.1 immediately after the restart, - it did not work.

    I have disabled the firewall on the computer, but it made no difference. Both computers running all Windows 64-bit both 8.1; they have two different firewalls.

    I pasted in the troubleshooting information in Thunderbird below.

    Thank you
    The f

     Application Basics
    
       Name: Thunderbird
       Version: 38.0.1
       User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1
       Profile Folder: Show Folder
    
                 (Local drive)
       Application Build ID: 20150608103712
       Enabled Plugins: about:plugins
       Build Configuration: about:buildconfig
       Memory Use: about:memory
    
     Mail and News Accounts
       account1:
         INCOMING: account1, , (imap) mail.okstate.edu:143, alwaysSTARTTLS, NTLM
         OUTGOING: smtp.okstate.edu:587, alwaysSTARTTLS, NTLM, true
    
       account2:
         INCOMING: account2, , (none) Local Folders, plain, passwordCleartext
    
     Crash Reports
    
     Extensions
    
     Important Modified Preferences
    
       Name: Value
    
         accessibility.typeaheadfind.flashBar: 0
         browser.cache.disk.capacity: 358400
         browser.cache.disk.smart_size_cached_value: 358400
         browser.cache.disk.smart_size.first_run: false
         browser.cache.disk.smart_size.use_old_max: false
         extensions.lastAppVersion: 38.0.1
         font.internaluseonly.changed: true
         font.name.monospace.el: Consolas
         font.name.monospace.tr: Consolas
         font.name.monospace.x-baltic: Consolas
         font.name.monospace.x-central-euro: Consolas
         font.name.monospace.x-cyrillic: Consolas
         font.name.monospace.x-unicode: Consolas
         font.name.monospace.x-western: Consolas
         font.name.sans-serif.el: Calibri
         font.name.sans-serif.tr: Calibri
         font.name.sans-serif.x-baltic: Calibri
         font.name.sans-serif.x-central-euro: Calibri
         font.name.sans-serif.x-cyrillic: Calibri
         font.name.sans-serif.x-unicode: Calibri
         font.name.sans-serif.x-western: Calibri
         font.name.serif.el: Cambria
         font.name.serif.tr: Cambria
         font.name.serif.x-baltic: Cambria
         font.name.serif.x-central-euro: Cambria
         font.name.serif.x-cyrillic: Cambria
         font.name.serif.x-unicode: Cambria
         font.name.serif.x-western: Cambria
         font.size.fixed.el: 14
         font.size.fixed.tr: 14
         font.size.fixed.x-baltic: 14
         font.size.fixed.x-central-euro: 14
         font.size.fixed.x-cyrillic: 14
         font.size.fixed.x-unicode: 14
         font.size.fixed.x-western: 14
         font.size.variable.el: 17
         font.size.variable.tr: 17
         font.size.variable.x-baltic: 17
         font.size.variable.x-central-euro: 17
         font.size.variable.x-cyrillic: 17
         font.size.variable.x-unicode: 17
         font.size.variable.x-western: 17
         gfx.direct3d.last_used_feature_level_idx: 0
         mail.openMessageBehavior.version: 1
         mail.winsearch.firstRunDone: true
         mailnews.database.global.datastore.id: 07443412-ffcd-4d2f-998d-7cb7d9fb13f
         network.cookie.prefsMigrated: true
         network.predictor.cleaned-up: true
         places.database.lastMaintenance: 1434665793
         places.history.expiration.transient_current_max_pages: 104858
         plugin.importedState: true
         print.printer_Samsung_C460_Series.print_bgcolor: false
         print.printer_Samsung_C460_Series.print_bgimages: false
         print.printer_Samsung_C460_Series.print_colorspace:
         print.printer_Samsung_C460_Series.print_command:
         print.printer_Samsung_C460_Series.print_downloadfonts: false
         print.printer_Samsung_C460_Series.print_duplex: 219172716
         print.printer_Samsung_C460_Series.print_edge_bottom: 0
         print.printer_Samsung_C460_Series.print_edge_left: 0
         print.printer_Samsung_C460_Series.print_edge_right: 0
         print.printer_Samsung_C460_Series.print_edge_top: 0
         print.printer_Samsung_C460_Series.print_evenpages: true
         print.printer_Samsung_C460_Series.print_footercenter:
         print.printer_Samsung_C460_Series.print_footerleft: &PT
         print.printer_Samsung_C460_Series.print_footerright: &D
         print.printer_Samsung_C460_Series.print_headercenter:
         print.printer_Samsung_C460_Series.print_headerleft: &T
         print.printer_Samsung_C460_Series.print_headerright: &U
         print.printer_Samsung_C460_Series.print_in_color: true
         print.printer_Samsung_C460_Series.print_margin_bottom: 0.5
         print.printer_Samsung_C460_Series.print_margin_left: 0.5
         print.printer_Samsung_C460_Series.print_margin_right: 0.5
         print.printer_Samsung_C460_Series.print_margin_top: 0.5
         print.printer_Samsung_C460_Series.print_oddpages: true
         print.printer_Samsung_C460_Series.print_orientation: 0
         print.printer_Samsung_C460_Series.print_page_delay: 50
         print.printer_Samsung_C460_Series.print_paper_data: 1
         print.printer_Samsung_C460_Series.print_paper_height: 11.00
         print.printer_Samsung_C460_Series.print_paper_name:
         print.printer_Samsung_C460_Series.print_paper_size_type: 0
         print.printer_Samsung_C460_Series.print_paper_size_unit: 0
         print.printer_Samsung_C460_Series.print_paper_width: 8.50
         print.printer_Samsung_C460_Series.print_plex_name:
         print.printer_Samsung_C460_Series.print_resolution: 219172664
         print.printer_Samsung_C460_Series.print_resolution_name:
         print.printer_Samsung_C460_Series.print_reversed: false
         print.printer_Samsung_C460_Series.print_scaling: 1.00
         print.printer_Samsung_C460_Series.print_shrink_to_fit: true
         print.printer_Samsung_C460_Series.print_to_file: false
         print.printer_Samsung_C460_Series.print_unwriteable_margin_bottom: 0
         print.printer_Samsung_C460_Series.print_unwriteable_margin_left: 0
         print.printer_Samsung_C460_Series.print_unwriteable_margin_right: 0
         print.printer_Samsung_C460_Series.print_unwriteable_margin_top: 0
    
     Graphics
    
         Adapter Description: Intel(R) HD Graphics 4000
         Vendor ID: 0x8086
         Device ID: 0x0166
         Adapter RAM: Unknown
         Adapter Drivers: igdumdim64 igd10iumd64 igd10iumd64 igdumdim32 igd10iumd32 igd10iumd32
         Driver Version: 10.18.10.3621
         Driver Date: 5-16-2014
         Direct2D Enabled: true
         DirectWrite Enabled: true (6.3.9600.17795)
         ClearType Parameters: ClearType parameters not found
         WebGL Renderer: false
         GPU Accelerated Windows: 2/2 Direct3D 11
    
         AzureCanvasBackend: direct2d 1.1
         AzureSkiaAccelerated: 0
         AzureFallbackCanvasBackend: cairo
         AzureContentBackend: direct2d 1.1
    
     JavaScript
    
     Incremental GC: 1
    
     Accessibility
    
       Activated: 1
       Prevent Accessibility: 0
    
     Library Versions
    
         Expected minimum version
         Version in use
    
         NSPR
         4.10.8
         4.10.8
    
         NSS
         3.18.1 Basic ECC
         3.18.1 Basic ECC
    
         NSS Util
         3.18.1
         3.18.1
    
         NSS SSL
         3.18.1 Basic ECC
         3.18.1 Basic ECC
    
         NSS S/MIME
         3.18.1 Basic ECC
         3.18.1 Basic ECC
    

    or set true network.auth.force - generic-ntlm-v1 (under preferences |) Advanced | General | Configuration editor)

  • 5.8 on Centos is unable to send mail via SMTP

    For some reason, the server cannot send an email. I get this in the journal of an alert, I put in place:

    23/03/2014 11:36:46, 237 ADT ERROR [pool-2-wire-3] [org.hyperic.hq.bizapp.server.session.EmailManagerImpl@162] error sending email: [HQ]! -Free eosstgdb01 < 4.7 GB memory

    It tries to send to the e-mail address is correct. I installed postfix and test it with telnet and I send a mail successfully. I also use the e-mail program to send an e-mail successfully, so I know postfix is configured correctly. I can also connect to the server remotely from another server smtp. I even put in HQ to point to another server that provides postfix running and it has always failed. So, it is definitely something with the AC.

    Everything I had in my conf file was:

    Server.mail.Host = 127.0.0.1


    Then I tried:

    # Change the SMTP port

    mail. SMTP.port = 25

    # SMTP Properties

    mail. SMTP.auth = false

    mail.smtp.socketFactory.class = javax .net .SocketFactory

    mail.smtp.socketFactory.fallback = false

    mail.smtp.socketFactory.port = 25

    mail. SMTP. STARTTLS. Enable = false

    But he has not made a difference.

    In the HQ server settings, the only option for email is:

    base URL: http://10.31.30.20:7080 /

    E-mail address: [email protected]

    So what can I do?

    Turns our that I needed to add the hostname 'hyperic' for the files/etc/hosts. Once it was there, he was able to send emails. I guess that he must use the host name where the SMTP HELO command?

  • Unable to send mail, timeout, smtp does not... already for a week does not work.

    Dear Sirs

    all of a sudden I also can't send mails, timeout with the smtp server of my e-mail address, provider's web. of
    Firewall disabled, uninstalled antivirus...
    Server smtp.web.de
    port 587
    STARTTLS
    other ports also does not, any more than ssl
    router may not be the problem, because I work with two different routers in two different apartments, so that now the two of them, all of a sudden does not allow to send mails, seems highly unlikely to me.
    system windows 7 Home premium 64

    Thank you in advance, I'm really tired of playing with her...

    Thank you very much, now after 10 days of work do not now it works again...

    -)
  • Unable to send mail from my iPad.

    Unable to send mail from my iPad.

    Do you get any error messages?

    A fundamental thing to do is go into the settings, mail, contacts and calendars, remove and then add your e-mail info. Sometimes, especially if you just updated, things are screwed up and the best way to fix is to just start fee.

  • Unable to connect to an smtp server

    My OS is ubuntu LTS 14.10, I use Thunderbird version 38.4.0.
    I have 2 accounts, a gmail account and an e-mail office365 account.
    Until yesterday, I could send and receive emails on both accounts, however now it fails with the following error:

    The message send failed.
    The message cannot be sent because the connection to the server failed outgoing (SMTP) smtp.googlemail.com . The server is may be unavailable or refuses the outgoing (SMTP) server connections. Check that your outgoing (SMTP) server settings are correct and try again.

    (Or a similar message when connecting to the server smtp office 365.)

    I restarted the computer, confirmed the address of server, reset passwords, confirmed that I can ping the servers.

    Any help would be greatly appreciated.

    Thank you

    Chris

    The parameters of your server for Gmail seem good. I'm not really familiar with Office365, but they are probably ok as well.

    Are there external firewall or proxy, you have to go?
    You have all this computer's Internet access?

    What is suspicious, that the two accounts are not at the same time. So my best guess is that the cause is rather external and not Thunderbird.

  • I'm unable to send mail. Windows Mail has said that it supports most servers used by Hotmail HTTP.

    Original title: can you please tell me why whenever I click on send, cannot me? They say that Windows Mail only supports HTTp used by hotmail servers. Also, I followed what they tell me to do and they say «you give us the right product key» Thank you

    You can tell me why whenever I click on SEND, cannot me? They say: 'Windows Mail can't stand used by hotmail HTTP servers. Also, I followed what they tell me to do and they say «You do not have the right to product key» Thank you

    For Windows Mail, use the settings given here:
    http://MailCall.spaces.live.com/blog/CNS! CC9301187A51FE33! 49799.entry
    Use port 587 instead of port 25 of the SMTP server.
     
    To give you a little history, Windows Mail does not support the HTTP messaging, which for a long time was the only authorized method of access for free Hotmail accounts. In addition, given that the development of Windows Mail was frozen in July 2006, there no knowledge that Microsoft has enabled POP access for free Hotmail/Live/MSN accounts in February 2010. Therefore, the Windows Mail Account Setup Wizard is hardcoded to reject the Hotmail and MSN addresses. To work around this limitation, when you enter your Hotmail/MSN email address, initially, use a fake domain, such as * address email is removed from the privacy *. After the account setup is complete, you can go back into the settings and correct your email address.
     
    Gary van, Microsoft MVP (Mail)

    "Philip A. Carrasco" wrote in the new message: * e-mail address is removed from the privacy... *
    You can tell me why whenever I click on SEND, cannot me? They say: 'Windows Mail can't stand used by hotmail HTTP servers. Also, I followed what they tell me to do and they say «You do not have the right to product key» Thank you

    Gary van, MVP (Mail)

  • Unable to send mail but capable of receiving a specific recipient

    I have no problem in sending mails using my Windows Mail, but there is a particular recipient, which I was not able to send emails to, but has been able to receive emails on his part. The error returned is:

    Error SMTP from remote mail server after RCPT TO:<*** email="" address="" is="" removed="" for="" privacy="" ***="">:
    host inbound.homesteadmail.com [209.157.71.80]:
    554 5.7.1 service unavailable; Host of the client [207.210.80.250] blocked using hbl.dnsbl.hs; 554 IP address blocked sender (error ERR-365-IP code) please visithttp://support.homestead.com/mail-block.html for more information - host gnax.net spammer - Spam and many IPs throughout the 207.210.64.0/18 DHA

    However, I tried to use the Yahoo email and managed to send emails to the recipient above.

    Can anyone help to provide a solution as soon as POSSIBLE? Thanks in advance.

    Daniel

    Hello

    ISP of your recipient is blocking email from the account you are using, your recipient will need to communicate with their host to have it unlocked. The account has been reported as used for spam.

    Good luck, Rick Rogers, aka "Crazy" - Microsoft MVP http://mvp.support.microsoft.com Windows help - www.rickrogers.org

  • Logging of e-mail to the mail via tunnel server

    I have problems to set up e-mail logging on an ASA 5510 to my system remotely.  We are connected through the VPN site-to site.

    I have the SMTP server defined on our server of mail on the main site, but traffic does not through the tunnel.  I can remote into a machine installation remotely and successfully telnet to the mail server on port 25.  It seems that just the ASA has problems.  I can post my configuration, if necessary, but was hoping someone could point me in the right direction.  Thank you in advance.

    Rob Pettigrew

    OK, so what happens is that when the asa remote sends the e-mail, it uses its external interface as the source ip address, but the location of the configured mail server on is an ip address private and traffic dones't are counted as valuable traffic to the vpn and the right package gets down.

    If you have two options: -.

    1 > give your e-mail server, a public ip address pay and place this ip address in asa remote for the mail server.

    2 > do the origanating of traffic to the external ip address of the asa remote IP private adds the e-mail server as interesting traffic for vpn, so that it gets encrypted and properly routed.

    Manish

  • How to set up a backup to send emails with smtp server when Exchange is hosted

    How can I go on the definition of the Task Scheduler to send the paper with the smtp server, when our Exchange is hosted by Microsoft 365?

    Hi Jay,.

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the Exchange Server on TechNet forum. Please post your question in the Forums TechNet in Exchange Server.

  • Whenever I try to send mails via Gmail (even in Safe Mode), I get the error message "your action failed. Please try again ".

    Everytime I try sending mail through Gmail FF 18.1, I constantly get the error message "you action failed. Please try again ". I have to use the HTML view in Gmail that I really hate. I tried the Mode without failure of Firefox as well but not good. Please fix this for me.

    This can be caused by corrupted cookies or cookies that are not sent or otherwise blocked.

    Clear the cache and cookies from sites that cause problems.

    "Clear the Cache":

    • Tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Tools > Options > privacy > Cookies: "show the Cookies".

    If clearing cookies doesn't work, then it is possible that the cookies.sqlite file that stores the cookies is corrupted.

    Rename (or delete) cookies.sqlite (cookies.sqlite.old) and delete other files to present as cookie cookies.sqlite - journal in the profile folder of Firefox in the case where the cookies.sqlite file has been corrupted.

  • Unable to send movies via e-mail from outlook express

    I use Windows XP and Internet Explorer 8.

    Original title: Microsoft Outlook Express.

    I use Picasa 3 to my photo library. I recently created a CD with accompanying music track. I want to send an email directly from Picasa the completed 'movie'. To date, the recipient receives only the copy of the coverage on the attachment. They are unable to open the movie and play the slide show. I send the photos without problem. Is there something in Outlook Express that inviting me to turn to 'allow' send me a movie that will play on the opening reception?

    Thank you for your help

    You need Adobe Flash to view the videos online like You Tube if that helps. I installed it.

  • Unable to send email via Fastmail imap from windows mail on vista

    I can't send emails with Fastmail imap from windows mail on vista.  I can receive mail okay, but cannot send.

    Help

    Lawrence Quinny

    E-mail address is removed from the privacy *.

    See here for the correct settings: https://www.fastmail.fm/help/remote_email_access_server_names_and_ports.html

    Note that it is said that if you have a guest account, you can not send.

    Steve

  • Unable to send mail on outlook express 6.0

    I get emails from my outlook with juno e-mail account Express 6.0, but I cannot send emails from outlook express 6.0

    I get the following error message

    The connection to the server has failed. Account: 'emails Rader Miller', server: 'authsmtp.juno.com', Protocol: SMTP, Port: 25, secure (SSL): no, Socket error: 10060, error number: 0x800CCC0E

    1: has this ever worked in Outlook Express account?

    2: Check your settings with these. I don't think that yours are correct.

    http://help.Juno.com/support/email/email-setup-msoex5.html

    Bruce Hagen
    MS - MVP October 1, 2004 ~ September 30, 2010
    Imperial Beach, CA

  • Mailing address: cannot send mail via VPN

    I use OS X 10.11.3 El Capitan and Mail 9.2

    Whenever the computer is connected via the PIA VPN, Mail cannot send e-mail messages.  Is there a work around for this problem?  Please, let me know.  Thank you!

    There's not enough information here to determine what the problem is.

    If you use one of the many VPN services allows you to hide your activity (supposedly), it is quite possible that your email provider has locked their servers to avoid spam being sent back by criminals who often use these VPNS.

    What does your email provider say when contacts you and reported the problem.

Maybe you are looking for

  • A few questions about Apple Watch.

    Hello, guys... My name is Alexander and I live in India. I wanted to buy a Apple Watch and I have a few questions. 1. I use Wi - Fi router and did not have cellular data Plans. Now my doubt is, when the iPhone is not connected to a network of data, W

  • Satellite L305D-S5581 - dead BIOS

    Hi all, I have a Toshiba laptop Satellite L30D S5581. The screen kept going all the time and research in some forums, he suggested that I update the Bios to 1.5 to 1.7At halfway through the update, the screen went off and now when I turn it on it's j

  • How to set QoS priority by device and service on C7000 Modem/Router?

    I would like to set the priority to my VOIP (OOMA) connected to the Ethernet port. Don't see anyway in the Engineering menu to access QOS, even if the item appears on other models of Nighthawk... Appreciate any advice.

  • exe version works, but the program is not

    I create an exe file, everything went well. I opened the exe file and want to start the program through 'In '. Then I get the attached message. This is an old Version of Labview (2009), which I converted in 2014. I miss smth, I have to add to get a p

  • When viewing my page photo will close without my guest

    What is the cause and how to fix it?  It allows me to open the page and post photos but it will close before I find a photo I want or I can rename a photo... it quickly.