Could not send email

hello,
my app is running on tomcat 5.5, via maven is javamail 1.4.3 and commons-mail 1.2 installed. I would send out a simple text email over smtps with authentication. All what i get is:
=== 8< ===
Caused by: javax.mail.NoSuchProviderException: smtp
     at javax.mail.Session.getService(Session.java:794)
     at javax.mail.Session.getTransport(Session.java:716)
     at javax.mail.Session.getTransport(Session.java:656)
     at javax.mail.Session.getTransport(Session.java:636)
     at javax.mail.Session.getTransport(Session.java:693)
     at javax.mail.Transport.send0(Transport.java:188)
     at javax.mail.Transport.send(Transport.java:120)
=== 8< ===
I know that this topic is well dicusesed, but after reading so many posts i am not more clued that before. Hopefully i get an answer.
TIA
Daniel

I found the issue, i additional installed the sun javamail package. I removed it now, and used the classpathx-mail-1.3.1, this might be gnu variant. Now i don't get the error anymore, but now i got noting, no output. I set session.setDebug(true); and session.setDebugOut(new PrintStream(new File("/var/tmp/javamail.out"))); i got no further information about what is wrong there.
Thanks for all informations
Daniel

Similar Messages

  • Could not send email while in MX, wireless connection

    Last week I could not send email while in MX, wireless connection, using an SMTP server I usually use, and had used from Europe months before - only difference was that I did not turn on AT&T's international access feature. I wish now that I had thought to turn off localization. Email went out when I returned to the USA with no other change. Is this a known "feature"?

    Bring the Mail browser window forward, then select Enter Time Machine from the Time Machine menu, which is represented by a clock icon in the menu bar. If you don't have that menu, select
     ▹ System Preferences ▹ Time Machine ▹ Show Time Machine in menu bar
    Scroll back in the time-travel view to the most recent snapshot containing the messages you want to restore. Select the messages, then click Restore. The messages will be restored to a new mailbox. From there you can move them wherever you like.

  • Could not send email to group in my iMac Cloud

    due to: they kept saying found 1 or more invalid addresses.  I could not understand why does it happened.  All my contacts have corrected addresses, when I send one each email and it sent alright but not in group.

    If you don't like the new ways that iPhoto handles emailing then you can access the old way with a small change in how you work:
    1. Drag the pics from the iPhoto Window to the Mail icon in the Dock.
    or
    2. Use the Photo browser in Mail - or any Media browser in the entire OS
    Uploaded with plasq's Skitch!
    You can then resize the image in the iPhoto Window
    Uploaded with plasq's Skitch!
    Finally, you can make a simple OS Service to to automate the procedure. For more on this have a read of this:
    http://discussions.apple.com/thread.jspa?threadID=2627690&tstart=0
    Regards
    TD

  • Could not send mail using outlook when tethered (m...

    I have had a problem for a long time where I could not send email from my laptop when connected to the internet via a hotspot on my 3 mobile phone.
    After a long conversation with three where we determined that if I used three's SMTP server settings I could send email no problem, but once I was back on wifi i had to change my settings back to the BT settings (mail.btinternet.com), I decided to try and tackle BT support to get a resolution to the issue.
    I knew this would be challenge and that I would end up speaking to someone who could speak english but actually didn't really understand it, and Bt didn't disappoint!!
    I had a long online chat where it was explained to me that if I was connected via my 3g/4g connection I would have to use my providers SMTP because that is just the way it is. O.k. what did I expect!!
    Anyway I am just posting here so if anyone has the same problem I may be able to help you as I have now managed to get this up and running. How?? I hear you ask.
    In my case I used the mail checker on BT to see who's mail service I was with and it varified I was still with BT yahoo rather than BT Mail.
    I decided to try the yahoo setting for the SMTP server rather than the stock mail.btinternet.com and I am now up and running.
    My SMTP Setting is now -  smtp.mail.yahoo.co.uk (port 465 with SSL)
    Hope this helps someone else as I just could not find an answer by googling the issue.

    There is absolutely no reason why it shouldn't work using mail.btinternet.com port 465 with SSL. Works fine for me, albeit on O2 rather than Three, but the principle is the same.

  • Aol receives email but does not send emails.

    I was having a problem with my AOL account set up on my droid's and could not send emails out.  I went all over the web and could not find an answer.  I went to Verizon store today and I kid you not an hour later we got it to work.
    Go to app menu the lower middle circle triangle
    go to settings
    go to accounts
    click on AOL email
    go to outgoing server
    smtp.aol.com
    port-465
    username
    pass
    and check both squares
    use secure connection and verify cert..
    I hope this helps someone too!!
    Good luck!

    Thanks for that advice, and I'm glad it worked for you.  When I first got the Droid X, I had a problem with my AOL mail not getting to my phone quickly (sometimes it took a day or longer), and occasionally, the mail would not send.  I started using K9 email app from the Market, and the mail gets to me within a few minutes (most times) and I've had no problems sending mail. 

  • Workflow : Could not send e-mail [10014 : email ...

    hi,
    i am trying to send email notification via workflow, but i am not able to do so. anyone can help to troubleshoot this?
    below are the steps i have carried out for email configuration:
    1. i have added the mail server on mds.ini, MDS is restarted after every changes.
    2. requester and approval has correct email setup at console.
    3. a notification is added in workflow.
    4. telnet ping to mail server with port 25 is fine.
    when i check the log, i have the error :
    "Could not send e-mail [10013 : email : Notify] [Mail server:xxxxxxxxx] [From address:xxxxxxxx] [To address:xxxxxxx
    i know the guidelines and steps for configurations, but apparently it does not workout, so any troubleshoot guideline will be more appreciated.
    Thanks!
    Shanti

    Hi Shanti,
    I am sure you must have checked all this but then again would you please check following things and let us know ?
    1) Please check the SMTP Server Name in your Outlook Express if you are using Outlook
    2) Please log into MDS file and go under that particular Repositoy and check what details you have given for Mail Server
    3) Please give SMTP address in mail server line
    4) Log into Console and check if you have alligned Users and Roles to each other correctly or not.
    5) log into Data Manager and open the workflow and check the properties of Mail notification stencil and check if correct proertise are set ot not.
    Once you have made the changes at server level please restart the server again and then please let us know if this problem exist or not, may be we can more troubleshoot it further.
    Thanks and Regards
    Praful.

  • I could not open my windows live hotmail emails and could not send any emails as well,how do I make it work again?

    I could log into my windows live hotmail account but I could not send any emails or open any emails.
    == URL of affected sites ==
    http://sn122w.snt122.mail.live.com/default.aspx?wa=wsignin1.0

    Hello David.
    You may be having a problem with some extension or plugin that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
    In addition, read this article:
    http://support.mozilla.com/en-US/kb/Websites+look+wrong

  • Could not send out email...found out the real reason

    I use windows live mail.When I was away from home I could not send out any emails. When I called tech support, I was told because I was not at home using my DSL router. I mentioned that I could receive emails from Verizon no problem but could not send out. 
    The real reason was my anti-virus out-bound email scan. When I turned off this scan, all my outbound mail went out.

    that's a great tip for forum users.  thanks for sharing with everyone.

  • I had free adobe reader and i scanned a doc to send to a client and as of last night i could not send as an attachment thru my email. So I paid for the 89.99 year adobe pkg and it still wont let me email a scanned and saved doc. it says 'an unknown error

    i had free adobe reader and i scanned a doc to send to a client and as of last night i could not send as an attachment thru my email. So I paid for the 89.99 year adobe pkg and it still wont let me email a scanned and saved doc. it says 'an unknown error occurred'?

    What exactly means "could not"?
    And what Adobe product/service did you pay for?

  • HT1430 Hello, email settings correct, can not send emails from the ipad,

    ****, I HAVE ENTERED ALL MY EMAIL SETTINGS CORECTLY INTO MY IPAD FROM MY EMAIL ACCOUNT ON MY PC AND I CANNOT SEND EMAILS FROM IPAD  , WHAT AM I DOING WRONG CAN YOU HELP PLEASE

    it could be one of many reasons, is it giving you a reason why it is not sending emails?
    I know you said everything is the same as your PC email settings, but I would double check, also the iPad will tend to default to IMAP, so if you are using POP3 for your email, you may need to change the settings on the mail server. For example Gmail default to POP3 and needs IMAP turning on.
    What email account are you using? Who is it with?

  • Ipad not sending email, forced to reboot for changes to apply

    Hi all
    I was asked to look at a friends two week old iPad today.
    It was set up for them last week.
    Initially the person setting it up tried to add a Gmail account but found that it would receive but not send emails (using the native email app).
    They then decided to open an outlook.com account and use that instead of the gmail account.
    This worked fine for two days but then error messages saying that the mail could not be sent started to pop up. It struck me that the speed with which the error message appeared after clicking send suggested that this was an iOS issue rather than the server rejecting anything.
    I tried to check the imap/smtp settings in the "control panel" but they were not available (read:visible) so I deleted the account and entered the settings manually.
    It still wouldn't send emails but this time it didn't throw up any error messages, instead it decided to just dump them in the outbox without notifying me that there was an issue.
    Suspecting that the issue was with the ipad rather than the outlook servers, I decided to use my own smtp server details. Initially I tried using SSL but when this too failed I switched to the unsecure version on port 25.
    It still wouldn't send anything so I eventually rebooted by holding down the power button until the power off slider appeared. On rebooting I discovered that I could now send emails.
    TBH I have no idea if using the different SMTP server will be an issue if they ever want to check their outlook.com "sent mail" on line or not but i do have some questions
    1. Why was the reboot necessary? I had closed all open, unnecessary apps by double tapping the home button Might it have been the case that manually entering the outlook.com settings would have worked (given that the ideal set up would be to use the SSL outlook servers).
    2. Is this an unresolved iOS7 problem. Google searches resulted in many owners complaining that the iOS7 upgrade had rendered their email accounts incapable of sending emails. TBH the advice given ranged from perhaps sensible to plain daft.
    3. can anyone using outlook.com as their email provider on iOS7 confirm which smtp server, port, etc they use?
    4. Are there better email apps that actually give you detailed feedback?
    i don't know when I will next get the chance to get my hands on their ipad again but I would rather that they were using the correct outgoing servers with encryption (rather than my unencrypted smtp server).
    Thanks in advance

    neilyoung1 wrote:
    For the past few days I am now having trouble sending my client emails.  I get them bounced back with a permanent error of retry time exceeded.
    This is getting fustrating now as my client is needing answers that I cant give.  She is unable to email her colleague in the USA, and I am now unable to email her on a btinternet.com address.
    Do BT engineers monitor these forums?
    -Neil
    Hi again Neil.
    Your extra info now to me means that it appears to be problem at the client end!
    I hope you don't mind me asking a few questions ....
    Is she a regular BT Broadband user with a normal BTinternet email address ? Does she use secondary email addresses ?
    Do you know if she can happily email other people ? If not - it could be an account problem which may last a few days ....
    If you don't wish to provide the complete bounce message you received, could you perhaps email me the detail (emailing me using my shortcuts). Also pehaps you could ask your client to email me via my shortcuts, and see what happens and I'll take a look at replying to see what happens.
    The user on shentel.net domain she's been trying to email, did she ever manage to send any emails initially ? It could be the destination user having a problem.
    The mods do monitor these forums, but there are a lot of posts to go through of course ......
    http://www.andyweb.co.uk/shortcuts
    http://www.andyweb.co.uk/pictures

  • Mail does not send email

    My problem is simply that Mail does not send email.
    I have just migrated from iMac G5 to iMac Intel by using Migration Assistant. Everything else works just fine and I can receive email. However, if I try to reply, forward or send a new email message, Mail just does not do anything - no error message, nothing.
    The fixes I have tried so far are removing the Mail plist file, repairing disk permissions and mailboxes. Of course, I have checked the account settings, especially outgoing server settings. I also reinstalled Mail application with Pacifist. None of this has solved the problem. I have tried sending email with Thunderbird and it works with no problems.
    Does anybody have any suggestions how to fix this issue?
    The OS is 10.4.8, Mail Version 2.0.6 (749.2/752.3), all the suggested software updates done.
    iMac Core Duo 20" 2GHz   Mac OS X (10.4.8)  

    Reinstalling Mail is rarely necessary or appropriate to solve a problem. It certainly cannot fix anything that could be wrong within your home folder or at the server or with the network, and may even introduce new issues if not done properly. Moreover, in Mac OS X 10.4 you don’t need Pacifist to reinstall Mail, you could also do it as described in the following article:
    Custom installs in Mac OS X 10.4
    Verify/repair the startup disk (not just permissions), as described here:
    The Repair functions of Disk Utility: what's it all about?
    After having fixed all filesystem issues, if any, if the version of the system software on your install disks is earlier than what you’re using now (and only in that case), then you must also reinstall the Combo Update for the type of computer and the version of Mac OS X you’re using, to bring Mail back in sync with the rest of the system:
    About the Mac OS X 10.4.8 Combo Update
    Mac OS X 10.4.8 Combo Update for PPC
    Mac OS X 10.4.8 Combo Update for Intel
    The above won’t solve the problem. It’s just to ensure that you’ve properly reinstalled Mail, which you shouldn’t have done, and which apparently you didn’t do properly -- the version of Mail on your system should be 2.1.1, not 2.0.6.
    The original problem could be caused by some Launch Services cache or preferences corruption. The following article describes how to manually reset Launch Services -- the notes at the bottom of the article also provide information about the side effects of deleting each of the files involved:
    Resetting Launch Services
    If you prefer using a cache cleaning utility instead of following the manual procedure described in the previous article, this other article provides links to some utilities that can be used for troubleshooting and cache cleaning:
    Resolving Disk, Permission, and Cache Corruption
    It seems that the most appropriate utility for solving this particular problem is Tiger Cache Cleaner, but you may also want to consider other utilities, such as OnyX, or Cache Out X, which are free. Whatever utility you choose, be sure to read this first:
    Side effects of System cache cleaning
    As an example, this is how you should proceed with OnyX:
    1. Quit all applications.
    2. Launch OnyX and enter your administrator password.
    3. Click Maintenance. In the Reset section, check LaunchServices database.
    4. You may uncheck any other pre-checked options if you wish.
    5. Click the Execute button.
    6. Restart the computer.

  • Exchange 2013 wil NOT send email, same problem as every other exchange 2013 user, typical everything.

    I have a brand new dell server 2 netwrok cards. One WAN one LAN connected, each with its respective DNS server added to the card. In OWA the sent email shows in drafts, in outlook it shows in sent items, the user NEVER gets it, internally or externally.
    i get all mail from the internet, exactly as expected no problem, all tests show this is working everything checks out fine, server runs great, full blown domain controller with exchange 2013 added. ONLY problem after the 9th install, is still the same, exchange
    will NOT send email, everything else works perfectly event log looks great. I do see the DNS error where a DNS server on that network card is not responding crap, which is not true, internet works, al pages everything, NO firewall Bare connect while i get
    it to work. I HAVE been over the forums for the last week, tried all done all. i am an MSCE, was an MCSE instructor for 10+ years, Exchange Administrator, Exchange instructor for years, so yea, i am not some newb who has no clue, this DOES NOT WORK. it
    came at the CU1 level right out of the box, so i did not install and break it myself Microsoft is now selling this broken. Where do i go what do i do here. Like i said, every other aspect is in perfect order, Just email not sent, not showing in exchange tracking
    logs, and that DNS error on the event log, and YES i made the send connector, and the 3 setting it asks, not like that could be wrong, i mean seriously you put in very little info, any wrong entry would be obvious to even a child. SO walk me through what is
    going worng, as soon as this server sends an email, i am done building this domain, Please Help here.

     Performing Outbound SMTP Test
      The outbound SMTP test was successful.
     Additional Details
    Elapsed Time: 18739 ms. 
     Test Steps
     Attempting reverse DNS lookup for IP address xxx.xxx.xxx.148.
      The Microsoft Connectivity Analyzer successfully resolved IP address xxx.xxx.xxx.148 via reverse DNS lookup.
     Additional Details
    The Microsoft Connectivity Analyzer resolved IP address xxx.xxx.xxx.148 to host wsip-xxx.xxx.xxx.148.ri.ri.cox.net. 
    Elapsed Time: 187 ms. 
     Performing Real-Time Black Hole List (RBL) Test
      Your IP address wasn't found on any of the block lists selected.
     Additional Details
    Elapsed Time: 18453 ms. 
     Test Steps
     Checking Block List "SpamHaus Block List (SBL)"
      The address isn't on the block list.
     Additional Details
    IP address xxx.xxx.xxx.148 wasn't found on RBL.
    Elapsed Time: 1050 ms. 
     Checking Block List "SpamHaus Exploits Block List (XBL)"
      The address isn't on the block list.
     Additional Details
    IP address xxx.xxx.xxx.148 wasn't found on RBL.
    Elapsed Time: 27 ms. 
     Checking Block List "SpamHaus Policy Block List (PBL)"
      The address isn't on the block list.
     Additional Details
    IP address xxx.xxx.xxx.148 wasn't found on RBL.
    Elapsed Time: 60 ms. 
     Checking Block List "SpamCop Block List"
      The address isn't on the block list.
     Additional Details
    IP address xxx.xxx.xxx.148 wasn't found on RBL.
    Elapsed Time: 90 ms. 
     Checking Block List "NJABL.ORG Block List"
      The address isn't on the block list.
     Additional Details
    IP address xxx.xxx.xxx.148 wasn't found on RBL.
    Elapsed Time: 8161 ms. 
     Checking Block List "SORBS Block List"
      The address isn't on the block list.
     Additional Details
    IP address xxx.xxx.xxx.148 wasn't found on RBL.
    Elapsed Time: 119 ms. 
     Checking Block List "MSRBL Combined Block List"
      The address isn't on the block list.
     Additional Details
    IP address xxx.xxx.xxx.148 wasn't found on RBL.
    Elapsed Time: 61 ms. 
     Checking Block List "UCEPROTECT Level 1 Block List"
      The address isn't on the block list.
     Additional Details
    IP address xxx.xxx.xxx.148 wasn't found on RBL.
    Elapsed Time: 63 ms. 
     Checking Block List "AHBL Block List"
      The address isn't on the block list.
     Additional Details
    IP address xxx.xxx.xxx.148wasn't found on RBL.
    Elapsed Time: 8818 ms. 
     Performing Sender ID validation.
      Sender ID validation was performed successfully.
     Additional Details
    Elapsed Time: 97 ms. 
     Test Steps
     Attempting to find the SPF record using a DNS TEXT record query.
      The Microsoft Connectivity Analyzer wasn't able to find the SPF record.
     Additional Details
    No records were found.
    Elapsed Time: 97 ms. 

  • My apple ID has stolen i asked for rest but i could not get email rest on my email.

    my apple ID has stolen i asked for rest but i could not get email rest on my email.
    <Email Edited by Host>

    The Best Alternatives for Security Questions and Rescue Mail
        a. Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
        b. Call Apple Support in your country: Customer Service: Contact Apple support.
        c. Rescue email address and how to reset Apple ID security questions.

  • Could not send notification 65569 (status 'FAILED')

    Customize Workflow runs with 2006 error - only happen in the morning
    We have created a customize workflow which works a bit funny here:
    When we first run the workflow in the morning, it ends up with this error:
    Activity Buyer Notifications
    Result Mail
    Error Name WFMLRSND_FAILED
    Error Message 2006: Could not send notification 65569 (status 'FAILED') to 'CONTRACT SERVICES'.
    Error Stack WF_MAIL.GetDocContent(PO_DETAILS_BUYER)
    Then, thinking of some problem might happend to the workflow mailer, we run the standard workflow, e.g. PO Approval. It runs successfully and send out the notification email. So, we then run the customise workflow again, and this time it works, no error has been generated as above.
    The funny thing is, this had happened more than a week, where every morning I have to somehow run a standard workflow (normally I just create a new PO and send for approval), and got my customize workflow run successfully.
    Can someone highlight what's going wrong here?
    Is that some setup or soemthing that contribute to this problem?
    Thanks,
    Patricia

    The notifications are defined in the workflow but they do use a document type attribute (we send a table of data "Job", "Job Name", "Amounts").
    We have changed the database packages a lot and that created many problems afterwards so we minimized when we make those changes and we restart everything (database, IAS Server) afterwards.
    Here is the email to SYSADMIN:
    =========================================================
    Subject: Error in Workflow DUNAPIN2/20060323123955x30741282 2006: Could not send notification 41119 (status 'ERROR') to 'KKEMPER'.
    From
    To SYSADMIN
    Sent 03-APR-06
    Due
    Notification ID 41121
    An Error occurred in the following Workflow.
    Item Type = DUNAPIN2
    Item Key = 20060323123955x30741282
    User Key =20060323123955x30741282
    Error Name = WFMLRSND_FAILED
    Error Message = 2006: Could not send notification 41119 (status 'ERROR') to 'KKEMPER'.
    Error Stack = &ERROR_STACK
    Activity Id = 52557
    Activity Label = GET_GENERAL_LEDGER_APPROVAL:NTF_V2_AR_DEPT_OFF_MGR
    Result Code = #MAIL
    Notification Id = 41119
    Assigned User = KKEMPER
    Workflow monitor
    Please click on one of the following choices to automatically generate an E-mail response. Before sending the E-mail response to close this notification, ensure all response prompts include a desired response value within quotes.
    How do you want to Continue?
    How do you want to continue?: Abort Resolved Retry Request information
    =========================================================
    Any help would be greatly appreciated.
    Jim

Maybe you are looking for

  • How do I make my printer an ePrinter

    D110a

  • Down payment through cash jour

    Hai All, My client requires to do all postings through cash journal including down payments. So I need to post a down payment through cash journal Can any one suggest me on this. Cheers

  • Webutil form error

    when i try to open the canvas of the webutil demo it gives me frm_13008 cannot find javabean with name 'oracle.forms.webutil.clientinfo.getclientinfo'

  • Unable to FInd HTTPS port in SMICM

    Hi, I'am trying to work on HTTPS .When i check on SMICM->Goto->Services i'am unable to find HTTPS service. I did all this steps 1. From SAPGUI, run rz10 2. Add the parameter such as "PROT=HTTPS, PORT=443, TIMEOUT=9000" for icm/server_port_3. You may

  • Product code

    I have lightroom on my desktop and thought I loaded it onto my laptop. When, after a few months, I needed to pull up my laptop version, it said your trial is up enter product code. I have misplaced my box and disc for lightroom. Is there a way to get