Send mail from Linux

Hi.
My name is Edith, and I have a problem
I try to send email from a client in LInux, but present this message:
Error en el m�todo Mail.enviaCorreo()x javax.mail.NoSuchProviderException: No provider for Address type: rfc822
     at javax.mail.Session.getTransport(Session.java:516)
     at javax.mail.Transport.send0(Transport.java:155)
     at javax.mail.Transport.send(Transport.java:81)
     at Pmail.Mail.sendMessage(Mail.java:77)
     at PscannerRF.ScannerJ.enviaCorreo(ScannerJ.java:2956)
     at PscannerRF.ScannerJ.notificaMensaje(ScannerJ.java:2769)
     at PscannerRF.ScannerJ.recepcionGuiasGT(ScannerJ.java:633)
     at PscannerRF.ScannerJ.recepcionGT(ScannerJ.java:366)
     at PscannerRF.ScannerJ.inicio(ScannerJ.java:141)
     at PscannerRF.ScannerJ.main(ScannerJ.java:92)
Can I help me, please....

you need to post some code or something. No, the OP has a library problem -- something is missing from the CLASSPATH.
what's the
address you're sending to?Obviously, an RFC822 address; e.g. a [email protected]
M.

Similar Messages

  • How to send mail from linux with .txt file as attachment ..

    I want to send email from linux box and in the body of the email i want to have the content of dblog.txt file.
    I want dglob.txt file content to be part of the mail body.
    Thanks in advance!!

    Apr 29 15:19:35 lctwprddb01 sendmail[1616]: m3TJJZ4k001616: to=[email protected], ctladdr=oracle (500/500), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30109, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m3TJJZhB001617 Message accepted for delivery)
    Apr 29 16:04:52 lctwprddb01 sendmail[1422]: m3TIP6LJ031388: to=<[email protected]>, ctladdr=<[email protected]> (500/500), delay=01:39:46, xdelay=00:48:01, mailer=esmtp, pri=120423, relay=cluster2a.us.messagelabs.com. [216.82.249.211], dsn=4.0.0, stat=Deferred: Connection timed out with cluster2a.us.messagelabs.com.
    Apr 29 16:07:36 lctwprddb01 sendmail[1619]: m3TJJZhB001617: to=<[email protected]>, ctladdr=<[email protected]> (500/500), delay=00:48:01, xdelay=00:48:01, mailer=esmtp, pri=120425, relay=cluster2a.us.messagelabs.com. [216.82.248.44], dsn=4.0.0, stat=Deferred: Connection timed out with cluster2a.us.messagelabs.com.
    Apr 29 16:07:52 lctwprddb01 sendmail[1627]: m3TILs2r031176: to=<[email protected]>, ctladdr=<[email protected]> (500/500), delay=01:45:58, xdelay=00:48:01, mailer=esmtp, pri=120429, relay=cluster2a.us.messagelabs.com. [216.82.248.45], dsn=4.0.0, stat=Deferred: Connection timed out with cluster2a.us.messagelabs.com.

  • Send mail from Enterprise Linux

    We have a couple of servers running Enterprise Linux v5.3. What we want is to be able to send mail from those linux servers to internal and external mail adresses. In SuSE it is fairly simple to configure your MTA but Enterprise Linux I cannot find where to configure a outgoing mailserver. I don't want the configure the servers as a mail server but simply be able to send mails from those server.
    Can someone help me?
    Cheers,
    Wierd van der Haar

    Since OEL is a derivative of RedHat (even the numbering scheme matches), and since RedHat Enterprise is derived from Fedora, you could use web searches to find out how to do this by referencing the search to RedHat or Fedora insteadd of Oracle ENteprise Linux.
    That said, the apporpriate place to ask such a question is where the Linux people hang out. Click on "Forum Home" at the top of the page, scroll down to "Linux" (in the "Technology" category) and ask there. Since the inhabitants of that corner all deal with Linux the probability of getting a useful answer is much higher than here.
    http://www.joreybump.com/code/howto/smtpauth.html
    http://linuxhelp.blogspot.com/2005/06/change-your-mail-transport-agent-mta.html
    http://www.experts-exchange.com/OS/Linux/Administration/Q_22038591.html
    http://cr.yp.to/qmail.html
    are 4 useful responses to Google query "redhat configure outgoing mta"

  • Cannot send mail from mac mail or Entourage

    Hi guys,
    Wondered if anyone out there can shed some light on this little problem.
    I use Entourage for my emails & all was working fine until yesterday. I can receive mail from all and sundry but I can't send anything. I subscribe to ntlworld internet service and if log onto my email through their webmail, then it's fine. I've tried sending mail from mac mail and I get the same problem. I've been onto microsoft support & gone through all the troubleshooting with Entourage. The Entourage techy suggested it was my internet provider blocking my emails as they think I'm a spammer?? I phoned ntl & they insist it's nothing to do with them as I can send/receive from the website. (If I send an email with the address @ntlworld it's fine, but any other address i.e. all my clients/mates etc just stays in my outbox.
    Nothing on any of my settings has changed so I'm at a loss what to do next.
    Any suggestions greatly appreciated.
    Thanks, Mel

    it may be that your server (internet provider) has just started blocking outgoing mails not authenticated by them.
    Go to your account set up...
    and fill in the following details.
    SMTP SERVER: smtp.mac.com
    then click on advanced sending otions...
    click on override default SMTP port... type 587
    click on SMTP servber requires authentication...
    use same setting as receiving mail server.
    try this...

  • Cannot send mail from my ipad

    I cannot send mails from my ipad, I have checked settings with my mail server and they tell me that everything is OK, they don't know what may be causing the problem, any ideas?

    TBS2.
    There is no way for anyone to know if your problem is identical to the problem reported by maria_diaz. She didn't mention anything about getting the "relaying" message. I suggest you start a new question that gives a good title to a specific problem. Then in the body of the thread describe the problem in detail, tell us what steps you have tried so far to correct the problem, what happened, and what error messages you received.

  • Cannot send mail from any mail account

    I have a Mac Mini, late 2014 model, running OS X Yosemite version 10.10.2.   I have constant difficulty sending mail from any of my mail accounts; these are iCloud, Googlemail, Yahoo and a personal one which uses 123-reg.co.uk.  I am currently located in Greece, but have been having trouble for ages, even in the UK.  I can receive mail, but I don't seem able to send it.  Error message is usually simply cannot send mail using this server, select a different server.  However, when connection doctor is run, all servers appear to be connected and I am logged in.  Any ideas please?

    rosiehwilson wrote:
    Hi, not sure why that is relevant, but we arrived at the end of January this year.  Here is a screen shot of a recurring problem, although in this case Gmail is not connected to the internet, which it usually is.  Hope this helps.
    Your outgoing Gmail servers not working, everything else seems OK.
    So, what is not working for you (other than Gmail Sending)

  • Unable to send Mail from POP account

    I have an Iphone 4 and have upgraded the IOS from 5-1 to 6.1.3. Since then I have been receiving all my mails but i have been unable to send mails from my POP account. the notification "Cannot Send Mail. A copy has been placed in your Outbox. The receipient, "xxyyzz @ gmail . com " was rejected by the server" displayed. Please Help. the same thing happens when I configure my POP account on my Son's Iphone4, and there is no problem in receiving and sending mails from my Outlook. Please Help!!!!!
    Can i revert back to IOS5.1.1?????

    Contact your email provider and get the correct settings to use for the outgoing mail server (SMTP) on a mobile device. If it's email provided by your ISP, they have likely blocked email from outside their network from relaying to prevent spam.

  • Cannot send mail from .mac account in Entourage

    I am a new mac user so my troubleshooting skills are very weak. Until about one week ago, i was able to send mail from both my hotmail account and my .mac account. Now, i get this error (just on my .mac account):
    An operation on the server timed out. The server may be down, overloaded, or there may be too much net traffic.
    i read through much of the support articles, but did not find my specific error. can anyone help??
    thank you
    mknz
    MacBook Pro   Mac OS X (10.4.7)   new mac user
    MacBook Pro   Mac OS X (10.4.7)   new mac user

    it may be that your server (internet provider) has just started blocking outgoing mails not authenticated by them.
    Go to your account set up...
    and fill in the following details.
    SMTP SERVER: smtp.mac.com
    then click on advanced sending otions...
    click on override default SMTP port... type 587
    click on SMTP servber requires authentication...
    use same setting as receiving mail server.
    try this...

  • Cannot send mail from Exchange 2013 to Exchange 2007

    I have an
    Exchange 2007server with all roles in the same server (Version:
    08.03.0327.001 ) on a Windows 2008 R2 server. I have now installed two Exchange 2013 servers both with CAS and MBX roles on Windows 2012 servers
    (full patched). There is also a DAG between the new servers. All mail goes through a BorderWare besides the internal mail.
    I can send mail from both environments to the Internet. I can also send internal mail from Exchange 2007 to Exchange 2013.But the problem is that I am unable to send from Exchange 2013 to Exchange 2007. I've debugged, but not solved the problem and there are
    few articles on the Internet.
    Any suggestions?

    These two sentences are in conflict : "I can also send
    internal mail
    from Exchange
    2007 to
    Exchange 2013. But
    the problem is
    that I am unable
    to send from Exchange
    2007 to
    Exchange 2013. "
    Can you describe what is your real problem? Flow from E2007->E2013? Or vice versa?
    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you. Thank you! Damir

  • "This message cannot be sent at this time."  I have been getting this pop-up for 3 days when trying to send out mail.  I don't know what to do!  I cannot send mail from this account on any ISP. Please help!

    "This message cannot be sent at this time."  I have been getting this pop-up for 3 days when trying to send out mail.  I don't know what to do!  I cannot send mail from this account on any ISP. Please help!

    lots of people seem to be havgin a problem sending email from iCloud webmail.
    does your email address have uppercase characters in it?
    if so, try creating an alias in lowercase (go to preferences in iCloud webmail and select 'accounts') and see if email sends okay from that

  • Error: Not able send mail from OWA 2010. When I send mail, the mails go to Drafts Folder.

    Error: Not able to send mail from OWA 2010. When I send mail, the mails go to Drafts Folder. I have installed everything correctly but when I tried to open the OWA and trying to send mail from OWA. The mails do not deliver and mails become saved in Drafts folder. I tried to re-send messaged from Draft also but not able to send. 
    Screen Shot: http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/Error%20-%20Not%20Able%20to%20Send%20Mail%20from%20OWA%202010.docx
    Scenario: I have below configuration of exchange 2010 server Setup:
    1. Windows Domain Controller with Global Catalog on Windows Server 2008 which only for Windows 2008 Server Native.
    Server Name: WDC2010
    Domain: Blazex.Com
    2. Hub/Client Access Server: It is installed on Windows Server 2008. As per Microsoft recommendation, I have just installed Windows Server 2008 and then join this computer to Blazex.com.
    After that installed the Hub/Client Access Exchange role servers.
    Server Name: HC2010.blazex.com (This is not a Addition Member server or ADC)
    Role: Hub and Client Access Server.
    3. Mailbox Server: It is installed on Windows Server 2008. As per Microsoft recommendation, I have just installed Windows Server 2008 and then join this computer to Blazex.com.
    After that installed the Mailbox Exchange role servers.
    Server Name: MBX2010.blazex.com (This is not a Addition Member server or ADC)
    Role: Mailbox Server.
    4. 2nd  Mailbox Server: It is installed on Windows Server 2008. As per Microsoft recommendation, I have just installed Windows Server 2008 and then join this computer to Blazex.com.
    After that installed the Mailbox Exchange role servers.
    Server Name: 2MBX2010.blazex.com (This is not a Addition Member server or ADC)
    Role: Mailbox Server.
    5. Client Windows 7: It is installed on Windows 7 Ultimate Workstation. As per Microsoft recommendation, I have just installed Windows 7 and then join this computer to Blazex.com.
    Workstation Name: WIN7.blazex.com
    Role: Workstation
    Error Description: I have installed everything correctly but when I tried to open the OWA and trying to send mail from OWA. The mails do not deliver and mails become saved in Drafts folder. I tried to re-send messaged from Draft also but not able to send. 
    Screen Shot (Same As Above): http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/Error%20-%20Not%20Able%20to%20Send%20Mail%20from%20OWA%202010.docx
    I don't know what I am missing but I think there is some configuration I need to do on Hub/Client Access Server (HC2010).  I tried to access the mailbox on XP Client system through OWA. I get the same problem as Win7.
    Can someone please help me on this?
    Thanks and Regards
    Shambhu

    Hi Subhash,
    I have done the troubleshooting but I didn't find any problem at server side. I will send you mail also with all EXBPA report and as well DC, HC and Mailbox servers' Application Log and System Log.
    Below are the questions's answers which was asked by you:
    1.     Please check whether you can send email via Outlook.
    I am not able to open the MS Outlook. Please check all details in this thread : http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/c491c5c7-7d6f-48ff-97fa-6bf83d94e53c
    2.     Please run EXBPA to have a health scan.
    I have run the EXBPA and didn't see any critical Problem. I have took the screen shot and report. Please have a look in below screen shot link:
    a. http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/EXBPA.docx                                                                            - Final Report
    b. http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/ExBPA.BaseLine.200906270226501077.data.xml                        - Baseline Health Check
    c. http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/ExBPA.Connectivity%20Test.200906270223318201.data.xml      - Connectivity Check
    d. http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/ExBPA.Health%20Check.200906270125477730.data.xml            - Health Check with 2 Hr. Baseline option
    e. http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/ExBPA.Permission%20Check.200906270224343377.data.xml      - Permission Report
    The error which I received in EXBPA, that allready ignored by you and told that it is bug in EXBPA. Have a look here: http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/d4bb03bb-db84-4a8b-83ba-19937d7dcacf
    3.     Please check application log, whether any error event logged there. They could come from ADAccess related error or etc.
    I didn't see any ADAccess event on the server. For this I have left my lab PC open and I will check again.
    4.     We find that if mail .que gets corrupt, then this issue will occur, please try to move the affected user to another store and then test the issue.
    I am facing this problem with all users (7 users). Anyway I moved one user from one server Mailbox Database (2mbx2010) to Other Server Mailbox Database (mbx2010). After that
    a) Rebooted the Workstation
    b) Login successfully with same user.
    c) Delete the Old MS Outlook Profile
    d) Create New profile for same user without any problem.
    e) Tried to login in MS Outlook and got the same error. : http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/c491c5c7-7d6f-48ff-97fa-6bf83d94e53c
    f) Open the OWA successfully for Same user.
    g) Tried to send mail but again mail went to Drafts Folder.
    5.     I noticed that you test the issue after you close outlook. I recommend you to reboot your pc and then access
    mailbox via OWA to test the issue.
    I tried you suggested option, but sorry it also couldn't help.
    6.  You also check your disk space.
         All Servers have Enough Disk Space. Check the EXBPA Report.
    7. You may run EXTRA to get log information for further troubleshooting.
      Need more time for this.
    8. Please save application log, system log as *.evt file, then send them with EXTRA,EXBPA report to [email protected] .
       I have sent it as your mentioned mail address OR, you can get the mentioned log from below link also:
       a) http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/WDC2010%7C_APPLICATION.evtx           - DC/GC Application Log
       b) http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/WDC2010%7C_SYSTEMEVENT.evtx          - DC/GC System Log
       c) http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/HC2010%7C_APPLICATION.evtx              - Hub/Client Application Log
       d) http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/HC2010%7C_SYSTEM.evtx                      - Hub/Client System Log
       e) http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/MBX2010%7C_Application.evtx                - Mailbox Application Log
       f) http://cid-31ba948d0da4d57e.skydrive.live.com/self.aspx/.Public/MBX2010%7C_System.evtx                      - Mailbox System Log
    There will be some error log you will be that the system is not able to communicate with DC/DC, MBX or HC at everyday around 3 AM or some time 6 PM Evening also. These error came because I have installed VM on Windows 7 Workstation and after 45 min or one hrs. if I don't work on PC, then pc goes to sleep. so you may ignore these alerts.
    I hope my answer will give you some clue and I expect more help from your side.
    With Best Regards
    Shambhu Sharma

  • How do I specify the gmail outgoing server if I have multiple gmail accounts in my mail? I have 2 business accounts and when I send mail from one account, it is sent from the other account and the sending email is not from the correct account.

    I love my apple email and do not want to use google mail on safari. However, I have 2 gmail accounts set up on apple mail, but when I send mail from one of my gmail accounts (I choose the specific gmail account in the drop down window), it actually goes out as if it is from the other gmail account. I can't have that happen because one is my job, the other is a personal business account and unfortunately, the mail from both gmail accounts want to send through the personal business account. How do I make it send from a specific gmail account? I even tried deleting the accounts and setting them up again hoping I set it up wrong in the first place, but to no avail, it is still doing the same thing except this time I set the job account up first and then the personal business account and now everything goes from the job account! The only good thing is that the incoming messages work properly and they go into the correct inbox. Somebody please fix my outbox!

    In Mail Preferences/Accounts/each GMail account, set up the SMTP Outgoing Server for each account separately, going into SMTP name/edit/Advanced and specify the Username of each account.  The Outgoing servers must be two different servers, authenticated by the Username and Password of each.
    Otherwise, the GMail SMTP server will change the from address to that of the account where the SMTP server was setup.
    Ernie

  • I cannot send mail from my iPhone since I got my iPad mini even though the settings are exactly the same?

    Since I started using my new iPad, I cannot send mail from my iPhone even though I've compared the settings on both and they are exactly the same. I can receive mail.

    Hello Ann,
    Thank you for contacting Apple Support Communities.
    You can use the following to troubleshoot email on your iPhone:
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/TS3899
    Regards,
    Jeff D.

  • Error while sending mail from SAP

    Hello All,
    Recently we are facing an error while sending mail from SAP. When we try to compose a message ,it is moving to a dump error RAISE_EXCEPTION.
    The details from ST22,
    Short text
        Exception condition "FOLDER_NOT_EXIST" raised.
    Error analysis
        A RAISE statement in the program "SA
        condition "FOLDER_NOT_EXIST".
        Since the exception was not intercep
        program, processing was terminated.
    Kindly suggest..
    Thank You,
    Regards,
    Hasan

    Hello Priyanka,
    Actually, I performed the following two steps in order to solve the issue:
    - In transaction SICF, the node for SAPConnect must be active. In our system, this node was in inactive state. Hence I activated it.
    - Then In transaction SCOT-> Settings menu--> default domain should be 'xyz.com' if the email addresses in your company are maintained with a suffix  xyz.com.
    But for me the problem didnt get solved here..
    The problem that i am facing now is that if in my user profile, I have the email address maintained, then i get an error saying 'Sender address rejected'. However, if i goto transaction SU01 and clear the email id, the mail is successfully sent to outer world.
    You can try the above mentioned two steps using SICF and SCOT. If the problem does not get solved then try clearing the mail id in ur user profile.
    Hope this helps. If you find an answer to the problem of the mail id getting cleared, then please let me know..
    Regards,
    Himanshu

  • Can no longer send mail from other apps

    Problem:
    If I go into any app (other than Mail) and try to send a message (via email) and I either get nothing or some apps will say that "Mail needs to be configured in order to do this."  After doing a restore on my iPod touch (4th Gen., running the latest iOS5) I had only configured a few accounts under "Mail, Contacts, Calenddars", and *was* able to send mail from other apps just fine.  Now that I have 13 accounts I cannot; not only is Mail configured and working fine (by itself,) but I now only have one account with "Mail" activated, and it is indeed set as the "default account" in Settings anyhow.  This is frustrating since some apps depend on email to let me export its data but is also a nuisance since it makes it more difficult for me to share content with others.
    Has anyone encountered this bug and/or have a tip?

    It is possible the Evil Starbucks empire has blocked SMTP sending as an antispam measure. You would need to log in to your email server using the smtpauth protocol. For example, Earthlink has an smtpauth.earthlink.net server for secure sending, which I was able to use sending from any public AP. Possibly T-Mobile has a similar authorized server.
    But nowadays I just use Gmail, they make it easy and reliable to send from anywhere because they use a custom smtp port. Yeah, Gmail solved a multitude of problems with mobile sending.
    Aluminum PowerBook   Mac OS X (10.4.7)  

Maybe you are looking for

  • WINDOWS MANAGEMENT FRAMEWORK 4.0 - A required certificate is not within its validity period

    Hello,  I can't figure out if this is because the Root Certificates were updated in April 2014 then apparently expired by Microsoft or if the PowerShell installer signed this file with a bad software release signature?? We were deploying PowerShell 4

  • Any way to make a 4G a 5G?

    Is there any software out there that I can purchase or download to make my 4G a video iPod?

  • Error Number 2093

    Somehow my mom messed with my quicktime and now Itunes wont work, Ive reinstalled Itunes and Quicktime, and quicktime works fine, Itunes however won't start. If you could email replys to [email protected] that would be great. PC   Windows XP  

  • Hi removing the obsolete statements.....

    Hi all when i am running the EPC i am gettting obsolete statements for these statements here is the code where it was showing the obsolete status can any body help me in correcting this: FORM alv_init_report_events TABLES ot_events TYPE slis_t_event.

  • I can't sign in to you tube on my ipad2 :-(

    Does anyone know why I get a message saying my "authentication failed" when I try to sign into the YouTube app on my ipad2? I can sign in using safari by not the app. :-( any suggestions?