Database mail is not sending mail through SMTP TLS

Hello,
I have strange issue with SQL 2012 and Database mail. For some reason server refusing to send email over SMTP TLS. The only error reported to log is below which is completely  useless (shame on you Microsoft for that).
I verified that there 
1. No networking issues between server and SMTP relay host (Installed Windows Mail and sent mail through it)
2.  That account and password is right (verification same as above)
3. That mail engine itself is working (verified through plain SMTP relay through local box itself)
I made a network capture of the process as well and it showing SQL server making initial TLS connection successfully to SMTP relay box and then never sending any data over established TCP connection and eventually timinig out after 60s with no data being
sent).
Any ideas?
Date 1/4/2015 2:03:33 AM
Log Database Mail (Database Mail Log)
Log ID 268
Process ID 223804
Mail Item ID 125
Last Modified 1/4/2015 2:03:33 AM
Last Modified By sa
Message
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 2 (2015-01-04T02:03:33). Exception Message: Cannot send mails to mail server. (Failure sending mail.).

I looked at both locations mentioned and there is nothing there to tell exactly what is the problem. Again I see on network capture that connection IS established, just no data is being sent. 
Relay is done through AWS relay server so there is not an issue on their side. Again I tested this scenario via Windows Mail client installed directly on SQL server, so any issues on the other side (like connectivity, timeouts, AV interferences are ruled
out since Windows Mail works).
Email error log supposed to have details about failure in last brackets, the one which in my case contains fuzzy "Failure to send mail". It supposed to say "unable to establish connection", "timeout expired" etc if there were
any issues on the other side. I have found a lot of reports of those issues on this forum where issue is explicitly stated in error message. In my case there is ZERO information about the issue. Mark Russinovich has excellent presentations where he talks about
useless error messages and this is certainly one of them.
Failure sending mail.

Similar Messages

  • Error while sending mail through SMTP

    Hi,
      We are getting the following error while trying to send mail through SMTP.
    '554 ERROR_MESSAGE_STATE: SMTP_NO_HANDLER( host:1-,subrc:0001)'
    Please advice,
    Regards,
    Sam

    Hi All,
      Configured SMTP as per the note 455140,i can able to send mails from SAP to the out side world,
    mails in SAP.When i tried the test to check whether the SAP system is correctly set up to receive e-mails as per the note 607108, iam getting a connection closed message as below.                                                                           
    afgdev:pgdadm> telnet afgdev 2500                                          
    Trying...                                                                  
    Connected to afgdev.                                                       
    Escape character is '^]'.                                                  
    220 afgdev.abc.ae SAP 6.40(52) ESMTP service ready                   
    helo afgdev                                                                
    250 afgdev.abc.ae                                                    
    mail from:<[email protected]>                                      
    250 Ok                                                                     
    rcpt to:<[email protected]>                                 
    250 Ok                                                                     
    data                                                                       
    354 Enter mail, end with "."                                               
    Hello,This is a test.                                                      
    Connection closed.                                                         
    afgdev:pgdadm> 
    rgds
    Sam

  • Sending Mail through SMTP server

    Hi
    I am trying to sent the mails through smtp server but but my smtp server is not reponding, I tried to delete the account & recreated the accounts & the smtp server but unable to do that, but creating the same mail account & same smtp server works in different laptop. can any one guide me how to correct the problem & repair it.
    Thanks in advance for the support.

    There are a couple of things you might check:
    make sure that you have the server name entered correctly (for example, stmp.gmail.com)
    make sure that if you have to override the default port that you have
    make sure that if SSL is required to connect that you've this option ticked, and
    make sure that if you need to provide a user name and password to access the server that you have.
    Other than that, that's about all that I can think of.
    Clinton

  • Why can I receive but not send messages through Mail?

    I recently installed a wireless router (linksys). I can send mail at the local coffee shop, yet here at home I can't. I know it's something very simple, but I'm giving up...and asking for help in fear of tweaking the settings beyond my knowledge. I get a popup that tells me I can't use the listed server for outgoing mail. I have a couple choices...1) lynksys 2)stmp.mac.com:tugboater.
    I wish I could get it set up...Its annoying to have to use mt yahoo address.
    Heelllppp!

    Help! I have read through this string, but not found an answer. I too, can receive emails but not send them. The problem started last week - I've been successfully using my mail account for 2 years and then last week, stuff I send just disappears - no error messages. I didn't change any settings or do any updates. All sent messages show in my "sent" folder, as well. I have tried everything, including restoring my hard drive from a backup copy made before I was having difficulty.
    I used suggestions in the online help, including using the "ping" function to see if I was communicating with my outgoing mail server. Trying to ping mail.mac.com I get the error message:
    "PING mail.mac.com (17.250.248.152): 56 data bytes
    --- mail.mac.com ping statistics ---
    10 packets transmitted, 0 packets received, 100% packet loss
    I am using mail and .mac mail through a cable DSL line and Airport wireless connection.
    I tried changing my outgoing port to 110 and to 25 without help.
    Any thoughts?

  • TS3276 can receive mail, can not send, set up smtp(offline)?

    I feel like a jerk, I know it is probably a simple change of wording in advanced setting or something I'm not doing correctly but I can not send mail using aol server. I use Safari only and have 2 accounts plus icloud, I have my Macbook Pro about 10 months and have had several mail issues but I worked them out.

    Hello:
    I use AOL's mail as well.
    Open mail.  Go to preferences and highlight your account in the sidebar.  Click on accounts>account information.  The out going mail server should show smtp.aol.com:your account name.  If that shows "offline," click on the drop down menu  "edit smtp server list."  The server name should be smtp.aol.com in use by your account.  Click on advanced.  You should use the default ports (25,465,587).  I authenticate using a password and my password is prefilled.  On rare occasions I have had a "gremlin" erase the password in that password box.  I have no clue how that happened, but the AOL server would not handle outgoing mail - showed offline.  Sometimes it took me quite awhile (restarts, etc) to get things going again.
    Barry

  • Database Mail Target smtp server refused connection.

    Hi..
    I'm working with a dev box that I'm configuring Database Mail from.
    I've run through the setup from
    https://msdn.microsoft.com/en-us/library/hh245116.aspx
    and
    http://www.codeproject.com/Articles/485124/Configuring-Database-Mail-in-SQL-Server
    I have attempted to use the gmail smtp setup examples.  I think I am close but my test emails keep returning an error in the log of:  "No connection could be made because the target machine actively refused"..
    I've tried ports 587, 465, and 25 (with and without SSL checked  for each of them).
    Where else should I check. ?
    To the best of my knowledge my firewall settings are open to the transmittal of a test email.
    Andy

    If you are using your domain with gmail than it should work easily, but if you are using the gmail domain, then I had the same issue with Gmail on several CMS systems :-)
    It look like GMAIL changed, the configuration a while back, and blocked external application, to use it's mail server, if it is not recognize the application.
    awhile ago gmail used to sent email saying it blocked a suspicious login attempt, and provided a way to enable that functionality, with one click. last time that we tried to configure external application (DotNetNuke in that case), we did not get this email,
    so it is very hard to find how to do it :-(
    There is an option in your account to get a special password for external application. don't remember where/how I got it (I used google at the time to find the solution)
    The configuration that worked for me in the past,
    before this issue, on SQL Server and other applications was:
    SMTP Server:          smtp.gmail.com:465
    SMTP Authentication:  Basic
    SMTP Enable SSL:      checked
    SMTP Username:        ######
    SMTP Password:        ######
    This should work if the Email address belongs to your domain and it created through the Google Apps web interface:
    SMTP Server:          smtp.gmail.com:587
    SMTP Authentication:  Basic
    SMTP Enable SSL:      checked
    SMTP Username:        ######
    SMTP Password:        ######
    ** I recommend not to use Gmail for this, since even if you configure correctly, they might and probably change the configuration again in several weeks/month.
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

  • Can't send email through SMTP server

    As some others have reported, I recently started having problems sending emails (most of the time) through my regular smtp server (receiving is not an issue). Once in a while it does go out, but most of the time I get a message "Can't send message using the server smtp.XXXX.com". I know it's not the smtp server as I can go out with my browser and use webmail and it sends fine, using the same server.
    It only affects this one main email account - my other accounts seem fine (including gmail, mac, and another pop accounts), at least so far.
    It is extremely frustrating - saw a whole lot of ideas for fixing it (changing ports, etc.), but don't want to mess up all the accounts that are working. I'm a long time Mac user, but not a real techie.

    I know it's not the smtp server as I can go out with my browser
    and use webmail and it sends fine, using the same server.
    This is wrong. Whether you can send via webmail has nothing to do with whether you can send using a standard mail client such as Mail. The outgoing server that ends up delivering the message may be the same in both cases, but the outgoing server you communicate with is not. Actually, when sending via webmail you don’t even use SMTP to communicate with the outgoing server.
    There are circumstances under which you may not be able to send using a standard mail client such as Mail no matter what you do (e.g. because the ports needed for SMTP are blocked by the ISP at the location you’re trying to send from), whereas webmail works fine — and may be your only option in those cases.
    If it works sometimes, that means your account settings are probably correct, but you cannot discard that there is a problem with the outgoing (SMTP) server that Mail has to communicate with, even if sending via webmail works fine.
    <hr>
    That said, go to Apple Menu > System Preferences > Network, choose Network Port Configurations from the Show popup menu, and make sure that the configuration used to connect to Internet appears at the top of the list. Leave checked (enabled) only the port configuration needed to connect to Internet and Built-in Ethernet (in that order if not the same), uncheck (disable) the rest of network port configurations and see whether that helps — if it doesn’t, turn ON again the ones you want enabled.
    Try using a different method to connect to Internet, if possible, or connecting the computer to Internet as directly as possible (i.e. bypassing any routers that might be present, using an ethernet cable instead of wireless, etc.), or shutting down both the computer and the router/modem used to connect to Internet, restarting, and see whether that makes a difference.
    Mail keeps information about outgoing (SMTP) servers in a separate list independently of the mail accounts themselves. The account settings just associate one of the available outgoing servers with each account. Orphaned or dangling outgoing server entries (i.e. not associated with any account) sometimes cause weird sending problems.
    Go to Mail > Preferences > Accounts > Account Information > Outgoing Mail Server (SMTP), choose Edit Server List from the popup menu, and delete any servers that shouldn’t be there — the Edit Server List panel shows the account each outgoing server is associated with.
    If the problem persists and you have more than one mail account, try moving the account that has the problem to the top of the list in Preferences > Accounts.

  • My iPhone 5 will not send mms through iMessage, any help?

    I have recently been abroad and since returning to the UK, my phone will not send pictures over iMessage, I never had this problem before travelling. I have my wifi switched on and I have checked my send and receive settings. I can receive picture messages through iMessages but cannot send them. The person I am sending them too has an iPhone and has their iMessage turned on, I have checked my updates and my phone does not need updating, I can not think of anything else it could be. I have also checked and I am able to send them through text just not iMessage. Any suggestions would be great!

    Yes I have turned imessage off a number of times and that does not seem to he doing the trick, and it is not delivering them then I have to press on the photo and either chose try again or send as text message, I have had the setting on to not allow sending pictures as texts (so they can only send as imessage) since I got my phone in January and it has always worked until now, I have turned that off to allow me to send them as picture messages now but it's still not working over iMessage, I have also tried it using 3G and not wifi

  • Why can i not send pictures through a message to anyone?  it shows it trying to send but always ends up in "failure",,,,

    I can't send pictures through a message to anyone~it shows it trying to send but always ends up in "failure",,,,,any clues as to what i am doing wrong??  My MMS is on,,,,,sometimes it will go through to one of my contacts but will never send to facebook.  I have to go into my facebook and then go into "upload photos",,,,,,
    Thanks in advance,

    What Meg said... also try looking here http://osxdaily.com/2012/01/28/use-iphone-4s-on-tmobile/
    But no guarantees it will work 100% on Tmobile..

  • Mail not received sent through SMTP Send Mail Task

    Hi,
    I have a SSIS package which will send mail notifications. This package is deployed on Integration Services Catalogues as Project deployment. This package having a list of notifications regarding the task status.The receiver end got few
    notifications but missed of the notifications. This issue is not frequent. Sometimes we are getting all notifications. Sotimes missing some notification. All these using SMTP tasks with same SMTP connection. 
    I checked the task status in Standard Reports for all Executions. The task status for all these notification tasks are Success.
    What are the possible reasons for this?
    Thanks and regards,
    Muhammed Shakeer
    Muhammed Shakeer

    Hi Muhammed,
    If the issue happens sometime only and all executions was run successfully, then the issue should be caused by the SMTP server. The SMTP server may refuse the connections.
    To verify the cause, please:
    Check SMTP server log
    Enable logging for the SMTP task. Check the log after execution
    To understand how to enable Logging, please see:
    http://technet.microsoft.com/en-us/library/ms181205(v=sql.110).aspx
    Thanks,
    Jinchun Chen

  • Could not send mail through smtp

    try
    props.put("mail.smtp.host", this.getSmtpHost());
    props.put("mail.transport.protocol", "smtp");
    props.put("mail.server", this.getSmtpHost());
    mailConnection = Session.getInstance(props, null);
    mailConnection.setDebug(true);
    trans = mailConnection.getTransport();
    msg = new MimeMessage(mailConnection);
    Date date = new Date();
    msg.setSentDate(date); // sets sent date for the message
    msg.setFrom(from);
    msg.setSubject(this.getSubject());
    MimeBodyPart html = new MimeBodyPart();
    to = new InternetAddress(this.getToAddress());
    msg.setRecipient(Message.RecipientType.TO, to);
    text.setContent(messageContent, "text/plain");
    text.setDisposition(Part.INLINE);
    mp.addBodyPart(text, 0);
    msg.setContent(mp);
    msg.saveChanges();
    trans.sendMessage(msg, msg.getAllRecipients());
    catch (Exception ex)
    ex.printStackTrace();
    this gives the following error message
    DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
    java.lang.IllegalStateException: Not connected
         at com.sun.mail.smtp.SMTPTransport.checkConnected(SMTPTransport.java:985)
         at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:286)
         at emailmerge.SendEmail1.sendMail(SendEmail1.java:239)
         at emailmerge.EmFrm.jButSend_actionPerformed(EmFrm.java:1613)
         at emailmerge.EmFrm_jButSend_actionAdapter.actionPerformed(EmFrm.java:2649)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1453)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1507)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:373)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:245)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:211)
         at com.apple.mrj.swing.ThemeButtonListener.mouseReleased(ThemeButtonListener.java:111)
         at java.awt.Component.processMouseEvent(Component.java:3711)
         at java.awt.Component.processEvent(Component.java:3540)
         at java.awt.Container.processEvent(Container.java:1159)
         at java.awt.Component.dispatchEventImpl(Component.java:2589)
         at java.awt.Container.dispatchEventImpl(Container.java:1208)
         at java.awt.Component.dispatchEvent(Component.java:2493)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2446)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2211)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2120)
         at java.awt.Container.dispatchEventImpl(Container.java:1195)
         at java.awt.Window.dispatchEventImpl(Window.java:966)
         at java.awt.Component.dispatchEvent(Component.java:2493)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:334)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:126)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:93)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)
    can any one suggest the remedy please
    Regards,
    AS

    transport.send(msg)
    throws the similar exception and authentication on the smtp is not required for my case
    As such i get connection to smtp. The exception is thrown only when i try to send the message
    Regards,
    AS

  • Mail will not send via earthlink smtp

    i have been using earthlink for years via apple mail, and now all of a sudden i have problems sending mail, i receive mail just fine. this happens randomly and i get the following error message
    "This message could not be delivered and will remain in your Outbox until it can be delivered.
    Verify that you have addressed this message correctly. Check your SMTP server settings in Mail Preferences and verify any advanced settings with your system administrator."
    i have not changed anything and this happens every couple of days.
    help.

    Are you using Earthlink's authenticated SMTP server and Earthlink is your ISP?
    The reason I ask if Earthlink is your ISP, I have cable modem server at Home thru Time Warner but I've kept my old Earthlink dial-up account for use when traveling if a high speed wired or wireless connection isn't available. I access my Earthlink account with the Mail.app but Time Warner is my ISP when at home so using Earthlink's authenticated SMTP server is required when sending mail with my Earthlink account when connected to the internet at home.

  • Mail Will not send/receive.  SMTP servers (offline)

    This change happened during normal operation.  Suddenly cannot send/receive mail.
    Any thoughs?

    Hi CDog, I feel your sentiment from the "avatar" post you made and at the end lead me to this link. Have you used the Connection Doctor? It is helpful at times to check what particular errors you encounter. You might also want to create something like a public email (@gmail, @yahoo) and create a new account to test if it is an issue with the mail app or an issue with your smtp servers. Either the connection doctor or time will tell when your servers will be online. hope that helps and great caricature from Crumb

  • Thunderbird will not send email through default, outgoing server.

    I have two outgoing email servers: Optomum (NY) and TWC (North Carolina). In North Carolina TWC worked perfect. Now I am in NY and changed the default setting for the outgoing server to Optomum. This is the error message I get, “Sending of message failed. The message could not be sent because the connection to SMTP server mail.twc.com timed out. Try again…” At first I thought that a change to the default outgoing server would not take effect until Thunderbird was shut down and restarted. That was not the case. Then I thought to reboot computer. Still NG. Although Optimum is set as default, Thunderbird still wants to send through TWC. Need fix.
    jk

    I think you mis understand the default. It is usaed when the one assigned to the account can not be determined.
    Tools menu (alt+T) account settings > select the account name and change to the appropriate SMTP server in the drop down list.

  • Not sending email through with outlook 2013 saved contact

    Few of my clients users are having an issue with the Auto-Complete option in Outlook 2013 where recipients don't receive mail if you choose the address from from the Outlook address book vcard. This issue only occurs on outlook 2013 and this is creating
    a lot of issue with my clients. The attached pic shows the issue that occurs.
     The issue doesn't occur if you manually type the email address. Also we tried with different emails and config pop/imap and it produced the same result. Kindly help as this is causing lots of issue.
    E.g. If we send an email using outlook address's vcard at 'To' and 'cc' user by typing email-> cc user will receive email showing 'To' section empty :S and 'To' user will not receive any email..
     Some details to help:
    Office version: 2013 click to run
    Windows 7 SP1

    Hi Nabbo,
    Either your address book service is broken that why it’s not enabling and creating error when you are using Auto-Complete option (choosing contacts from
    Vcard).
    Solutions:
    1.) Create a new profile
    2.) Or sometimes it’s happens, when contacts are not verified so first verified your address book contacts.
    Thanks
    Kelvin Howard

Maybe you are looking for

  • What are logics for the SAP UI icons of "Back", "Exit" and "Cancel"?

    Hi SAP experts, This question may sound kind of strange - isn't that obvious? While, it is in fact a very important and difficult issue for UI app implementations when UI flow should be kept persistant. I have been feeling confused when doing UI impl

  • Using select * into within a function

    What I'm wanting to do is to have a select query with many select fields and automatically create a new table (with the same schema) and insert the select result set in this new table. I can't seem to figure it out and doing the EXECUTE 'select * int

  • Can my web files reside forever on my iDisk for editing?

    Instead of the web files sitting on my HD and then 'published' to somewhere on my iDisk, can they not live there so I can access them from either of my two macs for editing purposes? Ideally, the files would sit on my iDisk (perhaps at another locati

  • WiFi and Bluetooth is not working in HP slate 6 voicetab

    Hello, Thanks for response. But issue is still there. i didn't able to enable Wi-Fi after reseting the Phone as per your instructions Wi-Fi MAC address is still not available Please help with another solution. 

  • Expand_All, Collapse_All to work for nodes

    Dear Experts, currently a report is being displayed using CL_GUI_ALV_TREE which has toolbar buttons like expand_all, collapse_all, select_all, deselect_all . I have the following tree structure: Node--> 10001  City   Zipcode   Leaf **           date