SMTP server problem for UTL_MAIL ..

Hi ,
I asked the Mail server admin and he said that the relaying is set to allow on the settings , the procedure still cant send to outside domains :
SQL> alter system set SMTP_OUT_SERVER ='oursmtp';
SQL>CREATE OR REPLACE PROCEDURE send_email
AS
   BEGIN 
     UTL_MAIL.SEND(sender => '[email protected]',
                   recipients => '[email protected]',
                   cc => null,
                   bcc => null,
                   subject => 'Msg From Oracle DB',
                   message => 'test msg');
   EXCEPTION
   WHEN OTHERS THEN
     raise_application_error(-20001,'The following error has occured: ' || sqlerrm);  
END;
SQL>exec  send_email ;
BEGIN send_email ; END;
ERROR at line 1:
ORA-20001: The following error has occured: ORA-29279: SMTP permanent error: 550 5.7.1 Unable to relay for [email protected]
ORA-06512: at "SCOTT.SEND_EMAIL", line 15
ORA-06512: at line 1
Notes:
*1- that when i send to within our domain there is not problems !*
*2- when i send from the outlook of our domain to outside it send fine !*

Try my method of sending mail using UTL_SMTP package. Of course, it's not my own method (which I created:)), but I use it to send mail with attachment :)
http://kamranagayev.wordpress.com/2009/02/23/using-oracle-utl_file-utl_smtp-packages-and-linux-shell-scripting-and-cron-utility-together-2/
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com
[Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

Similar Messages

  • No SMTP server specified for CFMAIL.

    Hello
    i am tryiing to run this tutorial and i am getting this
    error.
    No SMTP server specified for CFMAIL.
    what should i do?
    The web site you are accessing has experienced an unexpected
    error.
    Please contact the website administrator.
    The following information is meant for the website developer
    for debugging purposes.
    Error Occurred While Processing Request
    No SMTP server specified for CFMAIL.
    In order to send SMTP mail messages, ColdFusion requires that
    a default SMTP server be specified. You can set the default SMTP
    server using the Mail page of the ColdFusion Administrator.
    Alternatively, you can make sure that all CFMAIL tags have a
    SERVER= attribute provided. In this particular case, no SERVER=
    attribute was provided and no default SMTP server setting has been
    specified.
    The error occurred in
    C:\CFusionMX7\wwwroot\CFIDE\cfmbible\ch31\1-cfmail-simple.cfm: line
    3
    1 : <!--- email may never be sent if the email address in
    the From attribute below is not changed to a valid value for your
    mail server--->
    2 :
    3 : <cfmail from="[email protected]" to="[email protected]"
    subject="Thanks for joining">
    4 :
    5 : Thanks very much for joining our service. We welcome you
    to visit other links on our site, including
    http://www.yourdomain.com/somedir/somepage.cfm
    Resources:
    Check the ColdFusion documentation to verify that you are
    using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
    SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
    Remote Address 127.0.0.1
    Referrer
    http://127.0.0.1:8500/CFIDE/cfmbible/ch31/
    Date/Time 16-May-07 02:06 PM

    you can specify mail server directly in the <cfmail>
    tag, without having
    to specify one in cf admin:
    <cfmail server="your SMTP mail server address here, eg.
    mail.yourdomain.com" ...>
    if your SMTP server requires authentication, then you will
    also have to
    add username and password attribute to the <cfmail> tag
    along with the
    server attribute:
    <cfmail server="your SMTP mail server address here, eg.
    mail.yourdomain.com" username="your user name, usually the
    first part of
    or full email address" password="password for the username
    specified in
    the username attribute" ...>
    PS: you may want to download CFML Reference Manual from
    adobe.com - it
    has explanations and examples for all cf tags and functions.
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

  • HT201320 I am getting message smtp server problems when trying to set up email. I am using a tiscali email

    I am using a tiscali email address. I can receive mails ok and even have all my folders on my iPad but cannot send any emails. I get smtp server problems. Any idea how to resolve?

    Cannot send or received email
    http://www.apple.com/support/ipad/mail/

  • Mail SMTP server problem

    My iCloud does not work in Mail in all my apple devices (mobile, Ipad, Mac etc.). It seems that my Apple Mail soft seems to disable my smtp server for outgoing mails (iCloud server, offline). However, I can still receive all incoming mails ...

    Have you unchecked the box marked Mail in the iCloud preference pane and then checked it again? If not, please do that now and test.
    I've tried what you said, but nothing changes.
    I've tried also to sign out completely from iCloud and then sign in. It should rebuild the credentials stored in the Mac, but nothing works.
    I post the screen that appears after it fails to send the message.
    But on the other hand it works on the iPhone!!! I've unchecked and checked the mail box in the settings and now it works properly!
    The problem still persist on the Mac. In other words this is not linked to the iCloud preferences, but on the Mac itself.

  • Email SMTP server setup for Adaptive Job Server

    Hi,
    I am trying to setup SMTP server to send mails while scheduling webi reports.
    I have given Domain name, smtp server name and port number 25.
    Once I do schedule, the schedule instance is showing success. But mails are being sent.
    Please guide me, how I can solve this issue.
    Regards
    Gowtham

    My problem has been resolved.
    Regarding that, probably you should check with SMTP server admin.
    For me, the shcedule was success but didn't receive mail. I think the SMTP server admins cleared any firewall filters.
    Not sure. Please check with your SMTP server admin.
    Regards
    Gowtham

  • Smtp server address for Z10

    Hi, i am from PAkistan, just got Z10, the problem i am facing is i am unable to send emails , can some body help me what i should write in the SMTP server, as i have tried to put my company smtp and my carrier smtp but still fail

    Hey rehankhwaja,
    Welcome to the BlackBerry Support Community Forums.
    Thanks for the question.
    When sending an email message do you receive a clock icon or an error message stating Protocol layer was unable to send a message?  If so, please contact your network service provider and ask to be transferred to BlackBerry so we can gather some logs to help with our investigation.
    Thanks.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • Apparent SMTP server problem

    Hello,
    I have installed/configured JES4 on an RH3 Linux box with these credentials :-
    Sun Java(tm) System Messaging Server 6.2-3.04 (built Jul 15 2005)
    libimta.so 6.2-3.04 (built 01:30:02, Jul 15 2005)
    I thought I had everything I wanted finally running and I've been waiting on a couple of
    admin people to check out the Outlook Connector when I happened to attempt mailing
    myself again only to have the new message just sit there.
    The machine has been basically idle since I restarted everything when mail and calendar
    were working fine for me and for the first couple of days the mail logs were clear but
    then this started :-
    From the dispatch log :-
    [17/Nov/2005:14:27:32 +1100] serf9 msprobe[19704]: General Error: function=getse
    rverresponse|port=25|error=failed to get server banner
    [17/Nov/2005:14:27:32 +1100] serf9 msprobe[19704]: General Critical: SMTP server
    is not responding
    [17/Nov/2005:14:28:02 +1100] serf9 msprobe[19704]: General Error: function=getse
    rverresponse|port=587|error=failed to get server banner
    [17/Nov/2005:14:28:02 +1100] serf9 msprobe[19704]: General Critical: SMTP_SUBMIT
    server is not responding
    [17/Nov/2005:14:37:31 +1100] serf9 msprobe[19803]: General Error: function=getse
    rverresponse|port=25|error=failed to get server banner
    [17/Nov/2005:14:37:31 +1100] serf9 msprobe[19803]: General Critical: SMTP server
    is not responding
    This then continues at ten minute intervals.
    Also in syslog at the same time :-
    Nov 17 14:27:32 serf9 kernel: application bug: tcp_smtp_server(19747) has SIGCHL
    D set to SIG_IGN but calls wait().
    Nov 17 14:27:32 serf9 kernel: (see the NOTES section of 'man 2 wait'). Workaroun
    d activated.
    Finally, over the next ten minutes, five instances of tcp_smtp_server.log
    were created, all containing :-
    Connection to the Dispatcher failed: No such file or directory
    even though there are currently eight instances of dispatcher running.
    Calendar Express still looks ok but Messenger Express is not too responsive.
    Anyone seen this before, any idea what I can do before I launch the users on this?
    TIA

    Thanks for your reply,
    I did the stop-msg but stored and mshttpd (5 instances) needed
    SIGKILL (and even then I got "The connection was refused
    when attempting to contact serf9.it.usyd.edu.au:2080" x 4)
    I have now done a start-msg and have sent a local mail BUT ....
    I now have THIRTEEN instances of dispatcher ....
    This is the current scorecard ...
    ps -fumailsrv
    UID PID PPID C STIME TTY TIME CMD
    mailsrv 10056 1 0 10:49 ? 00:00:00 /opt/sun/messaging/lib/enpd
    mailsrv 10057 1 0 10:49 ? 00:00:00 /opt/sun/messaging/lib/stored
    mailsrv 10065 1 0 10:49 ? 00:00:00 [imapd]
    mailsrv 10067 10065 0 10:49 ? 00:00:00 [imapd]
    mailsrv 10068 10067 0 10:49 ? 00:00:00 [imapd]
    mailsrv 10069 1 0 10:49 ? 00:00:00 [popd]
    mailsrv 10071 10069 0 10:49 ? 00:00:00 [popd]
    mailsrv 10072 10071 0 10:49 ? 00:00:00 [popd]
    mailsrv 10073 1 0 10:49 ? 00:00:00 [mshttpd]
    mailsrv 10076 10073 0 10:49 ? 00:00:00 [mshttpd]
    mailsrv 10077 10076 0 10:49 ? 00:00:00 [mshttpd]
    mailsrv 10078 10076 0 10:49 ? 00:00:00 [mshttpd]
    mailsrv 10081 1 0 10:49 ? 00:00:00 /opt/sun/messaging/lib/imsched
    mailsrv 10084 1 0 10:49 ? 00:00:00 [dispatcher]
    mailsrv 10087 10084 0 10:49 ? 00:00:00 [dispatcher]
    mailsrv 10088 10087 0 10:49 ? 00:00:00 [dispatcher]
    mailsrv 10089 10087 0 10:49 ? 00:00:00 [dispatcher]
    mailsrv 10090 10087 0 10:49 ? 00:00:00 [dispatcher]
    mailsrv 10091 10087 0 10:49 ? 00:00:00 [dispatcher]
    mailsrv 10092 10087 0 10:49 ? 00:00:00 [dispatcher]
    mailsrv 10094 10087 0 10:49 ? 00:00:00 [dispatcher]
    mailsrv 10095 10087 0 10:49 ? 00:00:00 [dispatcher]
    mailsrv 10097 1 0 10:49 ? 00:00:00 [job_controller]
    mailsrv 10099 10097 0 10:49 ? 00:00:00 [job_controller]
    mailsrv 10100 10099 0 10:49 ? 00:00:00 [job_controller]
    mailsrv 10102 1 0 10:49 ? 00:00:00 /opt/sun/messaging/lib/tcp_smtp_
    mailsrv 10104 1 0 10:49 ? 00:00:00 /opt/sun/messaging/lib/tcp_smtp_
    mailsrv 10108 10087 0 10:49 ? 00:00:00 [dispatcher]
    mailsrv 10109 10087 0 10:49 ? 00:00:00 [dispatcher]
    mailsrv 10116 10087 0 10:49 ? 00:00:00 [dispatcher]
    mailsrv 10117 10087 0 10:49 ? 00:00:00 [dispatcher]
    mailsrv 10292 10100 0 10:59 ? 00:00:00 [smtp_client <defunct>]
    mailsrv 10293 10076 0 10:59 ? 00:00:00 [mshttpd]

  • Panasonic C210 camera new smtp server problem

    I am getting email notification from verizon about switching from old outgoing.verizon.net to new smtp.verizon.net. But my Panasonic C210 camera stopped sending motion detection emails after I switched to the new smtp setting at port 465 as suggested.
    I originally used outgoing.verizon.net at port 587 and it worked great.
    Does anyone have similar problem?
    Thank you.

    Thank you for the reply.
    The setting on my camera for old server outgoing.version.net works just fine. But I am getting email notices 3 times alresady, asking to switch to new server. So I guess verizon is closing down the old server soon.
    I've switched to new server smtp.verizon.net on all my other devices with no problem at all, including 3 macs, two iPads and 2 iPhones. The camera is the only device that won't take new recommanded setting.

  • SMTP server settings for Ziggo

    I have a new iMac, and try to set up my Ziggo e-mail account. I have followed all instructions. I receive incoming e-mails from POP.Ziggo.nl, but I cannot send e-mails - the iMac cannot connect to the smtp.ziggo.nl server. Can anyone help? I have "un-ticked" the SSL settings. Everything seems OK, but same error message everytime "cannot send message using smtp.ziggo.nl server". Can anyone help????

    Hi Steve,
    Don't know if I can help you but I'll try.
    Do you have an email with ziggo.nl or something like casema.nl?
    If you do have something other than ziggo.nl then you have to change the smpt "address".
    For the last couple of days I've been getting a message that the Ziggo certificate is not trusted. This too is causing a problem with sending. What I do is wait until I get the message you have, then click on connect.

  • AIM smtp server problems.

    I've had a problem sending emails, for about as long as I've used Mail 2.0.
    Everything seems to be set up as AIM instructs you too, but for whatever reason every time I try to send something it pops up a few seconds later with an error message saying that it was unable to send. I've changed my outgroing port from 25 to 587. Then I tried setting it to authenticate by password. So I entered my account name, and put my password in, and now I get a different error.
    "CANNOT SEND MESSAGE USING THE SERVER smtp.aim.com
    The server response was: CLIENT AUTHENTICATION REQUIRED. USE ESMTP EHLO AND AUTH.
    Use the pop-up menu below to try a different outgoing mail server. All messages will use this server until you quit Mail or change your network settings.
    Message from: Bradd Roberson <[email protected]>"
    Can someone please help me figure this out. Thanks.

    OH! Nevermind. I unchecked the box that said something about SSL, and it just sent. So, if anyone else has that problem... there you go.

  • Outgoing SMTP Server problems

    Hi,
    I cannot send email from my wireless network, some networks are fine i.e. the apple store, my home, but my work wireless will not let me. Receiving email is fine.
    I've connected using an ethernet cable and this does not help either.
    I'm currently on port 25 and have checked using passwork for authentication.
    Any suggestions?
    Thanks.

    I can also vouch for the Loa Powertools app. Its pretty cheap for what it lets you do and it delivers every time. I used to have the same problems sending mail and it was so frustrating trying to configure SMTPs for every location. I've really enjoyed using Loa powertools. Worth every cent.
    check it out: http://www.loapowertools.com/

  • HT1277 Ougoing SMTP server problem

    My outgoing SMTP servers in two accounts both come up as "offline" when I try to send an email.. Everything looks OK in the setup menus.

    "Oracle Beehive is the only unified collaboration solution built for the enterprise." (Oracle.com)
    Is there any way to make it simply accept emails ? Any other mail server in the world is able to do that.
    Null reverse-path (empty mail from:) is OK, according to "RFC821 - Simple Mail Transfer Protocol"

  • Why is Gmail SMTP server working for only one of two accounts?

    iPhone 4S, with all updates.
    I have two gmail accounts, primary and secondary.  I have both accounts set to use smtp.gmail.com, with password authentication for each account.
    Primary account can send just fine using SMTP.  Secondary account cannot send through it's "own" server (i.e., [email protected]) and sent messages failover to the primary account server ([email protected]).  Of course, that means recipients see the email as coming from the primary account, which is totally contrary to the reason I have it.
    Settings for smtp are identical, except for username and password.  I can send using the secondary account in Mail on my Mac, using that server, with messages showing properly (i.e. from [email protected]).
    Any ideas what's going on?

    On the iPhone that can't send or receive iMessages, make sure iMessage is On in Settings > Message.
    Also, try the tips in this Apple doc -> iOS: Troubleshooting Messages
    If you still can't send or receive iMessages
    To send and receive iMessages, your device must have a valid cellular or Wi-Fi data connection.
    iOS: Troubleshooting Wi-Fi networks and connections
    iOS: Troubleshooting cellular data
    Ensure that iMessage is turned on in Settings > Messages.
    iMessage registration validates your Apple ID for use with iMessage. If you are unable to activate iMessage, follow this article.
    If iMessage is unavailable either on the sending or receiving device, SMS will be used. You can turn this on or off in Settings > Messages > Send As SMS. Carrier messaging rates may apply.
    Verify that the Apple ID or phone number is listed in Settings > Messages > Send & Receive.
    Note: To receive iMessages sent to your phone number on your iPad, iPod touch, or Mac, you must meet the following requirements:
    iPad or iPod touch using iOS 6 or a Mac using OS X 10.8.2.
    Verify that you are signed in to your Apple ID account on Settings > Messages > Send & Receive.

  • Mail synchro and smtp server problems

    I have a permanent problem with using my MB Pro and email client. Instead of icloud email im using some other email adresses and its appear everytime when i come back home (using wifi connection) problems with Mail program. Sometimes appears in a folder to send sent email from two hours before. sometimes the whole program switch all accounts offline and its a big problem to switch it online. Also i can send something but one day after appear a window that this message wasnt send because .... now i have problem with my icloud account. i can see email in advance on my iphone and ipad but on computer in the best way in one hour. Could someone from you help me to solve it? before i have changed my job i was using MS Outlook on this computer and with less failures then this Apple product.

    Felix,
    I agree, I think it is a bug. My wife is experiencing the exact same issue on her MacBook after upgrading to Lion.
    I submitted Mail feedback tonight to Apple. I hope they get this fixed pronto. My wife prefers Mail to the web interface or using her iPhone for mail. Thanks for explaining the issue.

  • 1. Mail update for v.2.1.3 for Tiger  2. OS10.5 3. SMTP server intermittent

    1. Is there any Mail update for OS 10.4.11 users beyond v. 2.1.3?
    2. Is there any version of OS 10.5 (Leopard) installable on G4s described below? I know OS 10.5.6 needs a faster processor so cannot be installed.
    3. MAIN QUESTION: I have concluded after months of apparent SMTP server problems that the cause lies with neither my main ISP (ATT-Uverse) nor with the 2 email accounts we have a local dial-up/DSL ISP now owned by Cincinnati Bell from which we POP and send (SMTP) server. ATT-Uverse has approved, and disabled filters to prevent, this unusual practice for one of their customers to use a 3rd party's SMTP server and the Cinbell firm also has no problem.
    Nevertheless, multiple times a day, my password is refused and 'Mail Connection Doctor' reports that 'trying to log into this SMTP account failed.' The result is that I can only send mail to addresses in the same mail domain ['@name.type']. Both ISPs, however, report that all my settings are correct, are working, are pingable, etc. Sometimes just quitting and restarting Mail clears up the problem for a while. Anyway for many months and many reasons, I always assumed the problem lay with the ISP or with connections between my computers & the POP & SMTP Mail serving ISP. This ISP sent a technical manager to my location who set up a PC computer using Outlook with _my settings_ and with an ethernet connection to my ATT-Uverse Router. He had no problem using Outlook for sending or receiving test messages.
    So after much effort by various IT technical support staff from two different ISPs, I am forced to think that the problem while described as the SMTP server's refusal to accept my established passwork is really internal to Mail v.2.1.3 and the settings I have to use. In this case, to enable SMTP service on Port 25, I do need to use extended authentication (i.e. full email address in one field and password in another.
    Has this issue been reported by others and is there a fix or workaround. I would prefer to continue using Apple's Mail client & to use POP mail rather than another client or a ;cloud; connection like Google Mail.
    Thanks.
    Message was edited by: Wylieman

    1. Is there any Mail update for OS 10.4.11 users beyond v. 2.1.3?
    No.
    2. Is there any version of OS 10.5 (Leopard) installable on G4s described below? I know OS 10.5.6 needs a faster processor so cannot be installed.
    It'll run fine, you just can't Install it... LOL
    There are a couple of workarounds though, installing it on a fast enough PPC Mac to an External Firewire Drive, or editing the check for that CPU Speed, but you'll have to search for, like....
    http://lowendmac.com/osx/leopard/unsupported.html
    3. MAIN QUESTION: I have concluded after months of apparent SMTP server problems that the cause lies with neither my main ISP (ATT-Uverse)
    Hmmm, I don't think I've ever read of anyone having more problems than ATT!?
    So after much effort by various IT technical support staff from two different ISPs, I am forced to think that the problem while described as the SMTP server's refusal to accept my established passwork is really internal to Mail v.2.1.3 and the settings
    Hmmmm,
    Open Keychain Access in Utilities, use Keychain First Aid under the Menu item, then either check the Password under that item, change it, or delete it and start over.
    Resetting your keychain in Mac OS X...
    If Keychain First Aid finds an issue that it cannot repair, or if you do not know your keychain password, you may need to reset your keychain.
    http://support.apple.com/kb/TS1544
    Drag this file to the desktop and reboot...
    /Users/YourUserName/Library/Preferences/com.apple.keychainaccess.plist
    Re: Keychain is no longer able to update itself when I upgrade an application...
    http://unsanity.org/archives/2007_01.php

Maybe you are looking for

  • Start botton has no effect

    When I push the start (on) button, my computer stays dead. I can hear a faint fan sound in the speaker. Other times it starts. Before this I remember a couple of times recently when it said the battery was low when I had just charged it, but this is

  • Document Distribution order package status IW?

    Hi I am working on document distribution. the workflow is starting very well but fails to proceed at the status <b>IW</b>. On top of the order staus, there is a message "Not assigned to distr. order package". I am failing to troubleshoot it. Any idea

  • Query ALARM not working

    Hi everyone I've created a query and set it as an alarm for specific users it is active and it has not being poping up the message on the Messages7alert Overview form of their sessions I was wondering if there is any limitation for the messages Servi

  • Trying to turn on my HP compaq d330 but red light flashing and beeping and nothing comes on

    trying to turn on my HP compaq d330 but red light flashing and beeping and nothing comes on help a newbie please This question was solved. View Solution.

  • Depot Sales With Excise

    Hi Gurus, In Depot sales whicle creating excise invoice through J1IJ the BED.ECS.SECess values are not flowing. Please help regarding this nad please provide documentation for Depot Sales With Excise Regards Kiran