UTL_SMTP - problem with Microsoft Exchange 2010

Hello

I don't know if this has already been discussed here, but I have not found a thread about it.

We use the UTL_SMTP package in our production 10.2.0.4 database to send statistics to the Department. It works very well since we have established the Microsoft Exchange Server 2010.

The problem is that the mail comes without any content. (it has the wrong title but no content)

We have already solved another little problem:
-----
->Is the only thing that is different from the old stock exchange, you must declare the complete addresses.

For example:
UTL_SMTP.open_connection ("< servername >. (< domain > ', 25);    -the address of the mail server
or
UTL_SMTP. RCPT (mail_conn, ' < recipient > @ < domain > '); -delivery address

Without an address complete (without domain for example name) only the old Exchange (2003) accepts emails. (although course at the internal mail to the domain-communication)
-----

So now the mails have arrived, but they have no content. I think there is no problem with using the UTL_SMTP package.

The new trading system is clustered and now there are two dns entries:

A tip to a cluster of two-server-aktiv-aktiv "HUB & CASE" that works as a balancer(my simplified sight, it is also called NLB[Network Load Balancing] Cluster) load and sends emails to one of the trees exchange new-db-server or send it to the old exchange server (if the old Exchange is even the owner of the beneficiary-"post office box"!).

The other dumped at the old exchange server.


The problem come just in emails with the destination to the new trading system.
This is no a general problem, because emails since some CLI tools or other programs to the new system which arrive without problem (and with content :-)).)

I hope someone has an idea.
We have the same problem when we mail to a recipient whose box is the property of the new Exchange.
So the problem will be there when we spend our 'post-boites' of the old for the new scholarship.

Thanks in advance

Published by: Donein the 06.10.2010 04:00

Published by: Donein the 06.10.2010 05:22

Donein wrote:

Only the second mail have content. The only difference is the additional word wrap after the subject.

So, if I get the message in my pl/sql code to do this:

msg_text varchar2(500) := '          --push the enter button :-)
This is a testmail!';

It works very well. So, at this point, my problem is solved I think but the workaround is not really smart.

You need to convey what we call a body Mime (Multipurpose Internet Mail Extensions). It comes from "+ parts +". The first part is the e-mail message header. This includes the object, the name of the reader mail that created the mail, the mail message id, since and to the fields, date and so on (which many optional).

To do a single white as between the parties. If after this part of the header, it must be a blank line. After that the next part can be written - generally the e-mail of the body itself (or one of several parts of the body of the email).

UTL_TCP.CRLF offers the line of food/empty line required for you. He sample code I posted in {message identifier: = 4593735} that should work against most / all SMTP servers (assuming that the valid addresses are provided) - it also does not attempt to send the body complete Mime parameter via a single command. Open_data(), write_data() , and close_data() calls are used instead. This ensures the best control by separating the different lines and "body parts" of the Mime message.

Tags: Database

Similar Questions

  • If there is a problem with Microsoft Windows 7, why should I pay Microsoft to fix?

    I called Microsoft about some problems with Windows 7.  They told me my windows is deteriorating and they would charge me $99 to fix.

    Is this true?    If there is a problem with Microsoft Windows 7, why should I pay Microsoft to fix?    My computer is only 3 years old.
     
    [Moved from comments]

    Hello

    Thank you for writing to Microsoft Communities.

    Customers who purchase full packaged products (products of consumption, the Bureau of operating systems and desktop applications) will receive 90 days of assistance free of charge by phone after this load of Microsoft for support, from product activation is the first incident.

    http://support.Microsoft.com/GP/services/en-ID

    http://www.Microsoft.com/presspass/ofnote/Nera/Nera.mspx

    Hope this information is useful.

  • Problems installing Microsoft Office 2010 with multiple product keys

    Hello, I'm having problems install the version of Microsoft Office 2010 Home and Student trial.  I had a few problems with the initial installation 2 times and finally understood why (firewall, duh!).  In any case, I have 3 registration keys, I tried to get a 3rd, it gave me an error while it was almost finished to install, telling me he had a problem with the key, as I entered. I have already run the utility to remove all traces of installs. Should I go to the 'My account' and try redownloading and one of them (previous attempts with the trial keys) and if so, only one, first one or the more recent? I tried with the last being when he gave me the error message.

    Thank you!


    Ask the question in the forums Office:

    Microsoft Office
    "A programmer is just a tool that converts the caffeine in code" Deputy CLIP - http://www.winvistaside.de/

  • Integration of TMSXE with Service Pack 3 for Microsoft Exchange 2010

    Hello, we have a TMS 14.3.2, TMSXE 3.1.3 version and Exchange 2010 SP3 with the latest rollup update RU4.

    Do we still need to apply the limitation on the Exchange for Exchange 2010SP3 RU4 server policy configuration?.  Installation TMSXE document shows that it applies to Exchange 2010 SP1.

    Are there specific configuration for Exchange 2010 SP3 RU4 settings?

    Yes, the throttling policy applies - the reference SP1 seems to me when the limitation has been enabled on Exchange.

    You can use the scheduled throttling policy.  Next version of the solution offers impersonation as an alternative, which does not require the throttling policy.

  • Problems with Microsoft Office programs

    Original title: not interested in these community events

    I bought 2013 on the easy payment plan, and it's the only thing that is easy. Heartburn, problems threatening patience continues to accumulate.  I can't believe that when I installed windows 2013, my 2010 trial program has expired and none of the programs will open in the new program.  I used Microsoft 3.0 to 5, 8, professional and xp 2010.  Each unique program would automatically begin your files under the new facility.  With this program, unless I'm missing something won't do anything until you open each file - and you have to go through an extremely stressful process to send the file to the computer, open a program and expecting results.  It just has to be wrong.  When I receive an attachment document written in a Word, I can't open it.  I have to save it and go through get its opening in the downloads. Sometimes it works, sometimes it doesn't.  Someone at - it a copy of 2010 or 2007?

    In addition, why can't I talk to the geeks at Microsoft and get a response?

    Hi Jack Burkett,

    I understand the problem you are experiencing. It seems that you are having problems with your office programs.
    Please visit this link for additional assistance.
    Thank you
    Anne_Q.
  • Microsoft Exchange 2010 x10hosting Web site connection

    I have installation Windows SBS 2011 Essentials on my computer, and Microsoft Exchange Server 2010 and try to figure out how to connect my x 10 domain, mckittrick.x10.mx, to Exchange. I'm also trying to figure out how to get the correct DNS records, since I only need of a record and a MX record for email. I searched everywhere, but can't find enough instructions to connect the two. Please help and be as detailed as possible

    Hello

    SBS Server and Exchange are supported in these forums dedicated to Microsoft:

    Small Business Server

    Previous versions of Exchange

    Ask your question you once again to one that appears as the most adapted to your problem.

    Thank you.   :)

  • Treo 680 does not synchronize with Microsoft Exchange 2007

    Hello

    My company just upgraded to Microsoft Exchange 2007 and my 680 order teo synchronize my emails. I checked with the support of plam and they informed me that "the Treo 680 unlocked device no is not supported with Exchange Server 2007."

    All the world is facing this problem. Can anyone help?

    Thanks in advance.

    That link doesn't work for me, but I followed him it down here: support > phones > Centro > Verizon > downloads > software Bonus > Palm Versamail (to half way down on the next page)

    http://ws.Palm.com/MyPalm/MyPalmGenericUser/ControllerGeneric.jsp?&action=showbonus&ProductName=CENTRO690P

    Glad to hear VM4 works for you, if you encounter bugs, please post to inform others.

  • Problems with Microsoft-tool to terminate malware

    Whenever I have download this tool from the microsoft update service I have problems with my laptop L10-104. The system stops after that one every time changing the period and the display resembles a church window.

    After that I deleted this tool, the laptop runs without problem. Is there someone with a similar problem?

    In fact, I don't download this tool, but that cannot be the finishing.

    Hello

    I never heard the show. I put t know what tool you mean exactly, but I think that it s a Microsoft problem and not a malfunction of the Toshiba laptop.
    I recommend visiting the Microsoft Knowledge base and checking if you can find more information on this tool.

  • Cannot print because there is problem with Microsoft Virtual WiFi Miniport Adapter

    Original title: card WiFi miniport

    Microsoft Virtual WiFi Miniport Adapter has a device problem, it can be reinstoled? How? This problem prevents me you print. Help, please. Thank you

    Hello morning XP,.

    Thank you for the question!

    I'm sorry to know that have problems you with printing. As I understand it, you cannot print because there is a problem with the Microsoft Virtual WiFi Miniport Adapter.

    I need to ask you some questions to help you best.

    1. what operating system is installed on the computer?

    2. What is the brand and model of the printer?

    3. do you get an error message when you try to print?

    Reply with answers to help you in a better way.

  • Problems with Microsoft Lifecam HD-5001

    I installed the webcam above about 1 week ago and have since had problems with Skype-to-Skype calls.  Initially, I thought it was a problem with Skype, my Skype call today was ok, but the webcam turned itself, no matter how many times I turned it on!  I thought I'd try installing again, using the CD ROM that is labeled "microsoft LifeCam 3.0."  However, when I clicked on the Setup, a message came saying that a later version has already been installed?  Where should I go from here?  As you can probably, I'm a "techno-phobic", so the responses of a single syllable would be much appreciated? !!

    Hi Mitramonday,

    I suggest you to uninstall all previous versions of drivers installed for the Lifecam HD 5001 by following the steps below. Unplug the appliance before you uninstall.

    During the uninstallation, the device in the Device Manager, make sure that you follow the steps below:

    a. Click Start.

    b. access control panel > system > hardware > Device Manager.

    c. open Device Manager and expand the imaging device.

    d. right-click on the device Lifecam HD-5001 and uninstall the device.

    During the uninstallation of the device in Device Manager, make sure that you place a tick against 'delete the driver for this device '.

    Later, access the link below and download the latest drivers and firmware updates. Install it and check if it works.

    http://www.Microsoft.com/hardware/download/DownloadResult.aspx?category=ice&type=LifeCam&name=GNF-00001&OS=WVista_3264&lang=en

    Also check in the event viewer if there is no error code or error message is listed. See: how to view and manage the event logs in Event Viewer in Windows XP: http://support.microsoft.com/kb/308427

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit ourMicrosoft answers feedback Forum and let us know what you think.

  • Problem with Microsoft wireless mobile mouse 4000 scroll will not scroll on any computer?

    My mouse does not scroll vertically, but it scrolls horizontally. I tried different mouse on this computer and they are all scroll very well and I tested this mouse on different computers and it won't yet scroll. I followed through all the utilities provided on this site (checking the HID, reinstalling the software, verification of parasitic programs, etc.) and nothing has worked. Is there something else I'm missing?

    Hi Vjenkins,

    As the mouse does not work on different computers and other mice work on this computer, it seems that there is a problem with the mouse itself.

    Sinceyou have followed the steps mentioned in article to resolve problems with the mouse button or scroll the parameters, I would suggest that you contact Microsoft hardware support for further assistance.

    Hardware support

  • Problem with Microsoft Photo Editor

    I have thousands of photos on my PC (Vista/IE8) I could see without problem for years. But suddenly, even if I'm still able to import new pictures, when I try to open them I get the following message: Microsoft Photo Editor - error reading the file.

    But this seems to apply only to photos, including those that I have seen in the past, taken on my current camera, a Panasonic Lumix DMC - FS7. Everything else seems to be affected.

    Also, oddly enough, I can see the photos in slideshow mode!

    I would appreciate a solution.

    Hello
     
    Microsoft Photo Editor is supplied with Microsoft Office 97 and the stand-alone versions of Microsoft Word 97 and Microsoft PowerPoint 97. Microsoft Photo Editor is installed when you perform a custom installation, or full from the CD-ROM.
     
    What is the format of the files you are trying to view?
    The link below talks about Photo Editor. Try to look at the troubleshooting section in the article below
     
    General information about Microsoft Photo Editor:
     
    If you have still questions I recommend checking out the resources of the Office Suite and would be better suited to the community of the Office Suite. This is a support forum for Windows Vista. Please visit the link below to find a community that will provide the support you want.
     

    Aziz Nadeem - Microsoft technical support. [If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

  • Problems with Microsoft in Windows 7 updates

    Somewhere in the middle of July 2015, I noticed that I had not updated Microsoft program for several weeks.  I use Windows 7 (which was installed in my computer when I bought it in 2012).    I checked the last update, I had received and it was July 9, 2015.  I checked to make sure that I had selected automatic update function.   I called and spoke to a young woman with Microsoft, and she tried to find the problem.  She worked with my computer for more than two hours and could not find what was wrong.  She wanted to return to a more experienced technician, but I rejected this idea.  I've tried everything I can think and have talked with friends, and no one has had this problem.  My son tried for several hours to fix it and finally said: I might have a virus.  So I went to the Windows Update page, where there is information on the updates where he says: "check updates for your computer: NEVER.  and "last check updates: NEVER.»   I certainly did not insert these Nevers.  I have always used the automatic update choice.  Someone knows a problem like this?

    I look after about 150 computers to Windows 7.  11 of them could not perform updates of Windows to cycle this month of September.

    Windows Update is a constant problem since Microsoft Windows 10 has triggered.  In my opinion, they use the same resources to feed these adverse to a large measure 5 gigabyte W10 files as they do for your updates.  Their priority is W10, and as a result the service is very poor.  In some cases, updates have sat there churning for more than a day before finally closing.

    I'll give you some tips on antivirus software.  I recommend that first of all make sure you have a clean uninfected system with good protection.

    If after following these steps, you still have a problem, come back here and I will offer much more advice.  I learned a lot from these 11 fixing computers.

    First download and run ADWcleaner https://toolslib.net/downloads/viewdownload/1-adwcleaner/

    This is a great, free, scanner not antivirus software.

    Do not use any product that claims to make your computer run better.  Almost all of them are either false, themselves, an infection, or put your computer at risk. Delete everything that claims to be there to prevent the infections or pretends to make your computer work better, except for the singular than an antivirus product.

    It is a controversial topic, but your choice of AV software may be something you want to take a 2nd look.  I suggest you visit this website to get an idea of what AV software made the best work, depending on what type of user you are: http://www.av-comparatives.org/ is a non-profit that has been around for a long time and I hope that their results.

    When you interpret these results, remember the difference between a product that detects 95% and the other 99% of infections, it is actually 5 times more likely to allow an infection.

    I pick up after about 150 Windows PCs and I have more than 13 years.  Until last September, the only AV software that I would allow my clients to use was Norton Antivirus.  Note that this is not the same as any other product, Norton 360 or Internet Security.  My clients rarely know infections.

    Last September, Symantec (Norton owner) decided to no longer sell such a product.  After much research, I decided on Bitdefender Antivirus 2015 +.  I installed it on most of these PCs to date and has never been a problem, and it has been on a course of 12 months now...  It is a better product than Norton.  It is also cheap. One of the things I love the most about it, is the silence and discretion.  Especially if silenced you its function "portfolio".

    My customers know that if they install any product of 'Internet Security', I won't work on their computers until it is deleted.  Very well, I learned the hard way that other components of these products (other than the AV itself) IS causing more problems than any profit that they bring and work mainly by stopping the Windows component that does a very good job of this particular task still.  The problem is that when I started to work on a computer with an IS on it, I could spend hours trying to diagnose the problem, only to find out that by taking the product of the IS, the problems have become much clearer and easier to solve.  I think that the product of the IS actually hides the problem.

    As I said, this is a controversial topic and you will find many different very strong opinions.  I know that mine is based on a fairly large sample over a long period, and are consumers of consumer type Windows.

    Please note.  You should never have more than one protection software installed.  Always make sure that you completely remove the firmware all protection before installing a new one.  That contains software that may have come preinstalled on your computer when it's new

    Totally impossible to delete most of all AV software simply by using the standard uninstallation tool Windows 7.  Most of the majors also publishes a "removal tool" that gets the rest.  If you do not completely remove it, it will cause very hard to understand and diagnose problems.

  • How to determine if an installed program is Legit or necessary and I have a problem with Microsoft Essentials as well.

    I went through the system to my PC and while watching the programs installed in the Control Panel, I noticed several strange programs I don't remember installing.  I have just suffered the wrath of a restoration complete in October, Yes, it was terrible.  Anyway, how can I know if the installed programs are useful or harmful to my PC?  They are legitimate programs? If legit, are necessary or simply make my PC run slow?  Any help would be greatly appreciated, I can't really experience the collapse of PC that I just went through.

    In addition to the above PC problem... recently when I boot my PC, Microsoft Security Essentials - REAL PROTECTION IS ALWAYS TURNED OFF TIME?  I uninstalled the program and reinstalled it twice... maybe, I missed a step.  In any case, there has never been that big red "X" showing the real-time protection is disabled and my PC is at risk?  Comments or recommendations would be greatly appreciated. Thank you so very much!

    Thank you and happy new year!

    Andi Bow = ^... ^ =.

    Hi Andi Bow,

    Thanks for posting your question in the Microsoft Community.

    Based on the information, there are several odd programs that installed on your computer without your information and Microsoft Security Essentials is always off.

    What programs you are skeptical about?

    You can find these online programs to see their credibility. You may also let us know if there is any doubt.
    You can also try to run an online scan to check if the virus is completely removed from the system.

    Check out the link to launch the scan:

    Microsoft safety scanner

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    For more information, see the article:

    How can I help protect my computer against viruses?

    About the issue with Microsoft Security Essentials (MSE), you must post your query in the Virus and malware Forums for assistance.

    Viruses and Malware

    Hope the helps of information.

    Have a happy and prosperous new year!

    If you need further assistance, please answer and we will be happy to help you.

  • Problem with Microsoft Games flickering whenever I use my block cursors

    (1) this just started to happen on its own and the problem seems to be with MS Hearts, Spider, free cell, Mahjong, & Solitaire. When I open the file

    to play a game - the game flashes very quickly whenever I use my block of sliders. This is happening during the game. I can still play, but he acts like a strobe light. This seems to be the only thing affected.

    (2) somehow, I managed to lose all my favorites that have been listed, when I clicked on this.

    Woould br ideas greatly appreciated. Thank you, Jane

    Hi Jane,

    Thanks for the question!

    I understand that you are facing problems with games and also lost favorites.

    Quick questions:

    1 did you changes to the computer before the show?

    2. what version of web browser do you use?

    We will try these steps and check:

    Method 1:

    You can try to uninstall and reinstall the game and check from or disable Windows features:

    1. click the Start button, select Control Panel, click programs and then click turn on turn Windows features on or off. Administrator permission. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    2. develop the Games folder and uncheck the solitary, restart your computer and select the check box.

    3. to activate a Windows feature, select the check box next to the feature. To turn a Windows feature off, clear the check box. Click OK.

    Check this link for more information:

    Turn on or off Windows features

    http://Windows.Microsoft.com/en-us/Windows7/turn-Windows-features-on-or-off

    You can update the display drivers on the manufacturer's Web site and check.
    Updated a hardware driver that is not working properly
    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    Method 2:

    You can check the Favorites in the user folder and check if you can read the same thing.

    Favorites would be located at the following location:

    \Favorites C:\Users\[user name]

    Reference link:

    Import or export favorites in Internet Explorer

    http://Windows.Microsoft.com/en-us/Windows7/import-or-export-favorites-in-Internet-Explorer

    I hope this helps.

    Let us know if you need help on the issue.

Maybe you are looking for