Possible EHLO faliure sending mail

hi everyone and sorry if this is a repost,
I am writing a simple SMTP client using JavaMail 1.3.2 - after the TLS handshake it stops with the server response "220 Ready to start TLS". Its working fine for non-TLS servers. Am I missing a system component (this is on linux) or is it something else.
here's the mail part of the code ;
try
               Properties props = new Properties();
               props.put("mail.smtp.host",mailSrv1);
               props.put("mail.smtp.auth","true");
               props.put("mail.debug", "true");
               props.put("mail.smtp.starttls.enable","true");
               Session mailConnection = Session.getInstance(props,null);
               Message msge = new MimeMessage(mailConnection);
            Address fromAddr = new InternetAddress(user,from1);
               Address toAddr = new InternetAddress(to1);
               // Text part of mail
               MimeBodyPart mbp1 = new MimeBodyPart();
               mbp1.setText(msg1);
               // Attachment part of mail
               MimeBodyPart mbp2 = new MimeBodyPart();
               FileDataSource fds = new FileDataSource(filename);
               mbp2.setDataHandler(new DataHandler(fds));
               mbp2.setFileName(fds.getName());
               // Create Multipart and add parts to it
               Multipart mp = new MimeMultipart();
               mp.addBodyPart(mbp1);
               mp.addBodyPart(mbp2);
               msge.setContent(mp);
             msge.setFrom(fromAddr);
             msge.setRecipient(Message.RecipientType.TO, toAddr);
             msge.setSubject(sub1);
              SMTPTransport t = (SMTPTransport)mailConnection.getTransport("smtp");
                try
                    t.connect(mailSrv1, user, pass);
                     t.sendMessage(msge, msge.getAllRecipients());
               finally
                  if (verbose)
                      System.out.println("Initial response = "+(rep = t.getLastServerResponse()));
                  t.close();
           catch(AuthenticationFailedException afe)
                  JOptionPane.showMessageDialog(null,"Invalid UserName/Password!","Failed",JOptionPane.ERROR_MESSAGE);
                 error = true;
          catch(MessagingException me)
          catch(UnsupportedEncodingException uee)
          {}and here is the server response (debug)
>
DEBUG: JavaMail version 1.3.2
DEBUG: java.io.FileNotFoundException: /usr/lib/java/jre/lib/javamail.providers (No such file or directory)
DEBUG: URL jar:file:/usr/lib/java/jre/lib/ext/imap.jar!/META-INF/javamail.providers
DEBUG: successfully loaded resource: jar:file:/usr/lib/java/jre/lib/ext/imap.jar!/META-INF/javamail.providers
DEBUG: URL jar:file:/usr/lib/java/jre/lib/ext/pop3.jar!/META-INF/javamail.providers
DEBUG: successfully loaded resource: jar:file:/usr/lib/java/jre/lib/ext/pop3.jar!/META-INF/javamail.providers
DEBUG: URL jar:file:/usr/lib/java/jre/lib/ext/smtp.jar!/META-INF/javamail.providers
DEBUG: successfully loaded resource: jar:file:/usr/lib/java/jre/lib/ext/smtp.jar!/META-INF/javamail.providers
DEBUG: not loading resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsy stems, Inc]}
DEBUG: Providers Listed By Protocol: {imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsy stems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
DEBUG: not loading resource: /META-INF/javamail.default.address.map
DEBUG: URL jar:file:/usr/lib/java/jre/lib/ext/smtp.jar!/META-INF/javamail.address.map
DEBUG: successfully loaded resource: jar:file:/usr/lib/java/jre/lib/ext/smtp.jar!/META-INF/javamail.address.map
DEBUG: java.io.FileNotFoundException: /usr/lib/java/jre/lib/javamail.address.map (No such file or directory)
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "smtp.gmail.com", port 25, isSSL false
220 mx.gmail.com ESMTP g3sm1115803wra
DEBUG SMTP: connected to host "smtp.gmail.com", port: 25
EHLO localhost.localdomain
250-mx.gmail.com at your service
250-SIZE 20971520
250-8BITMIME
250-STARTTLS
250 ENHANCEDSTATUSCODES
DEBUG SMTP: Found extension "SIZE", arg "20971520"
DEBUG SMTP: Found extension "8BITMIME", arg ""
DEBUG SMTP: Found extension "STARTTLS", arg ""
DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg ""
STARTTLS
220 2.0.0 Ready to start TLS
Anyone can help me out here? I am using the gmai smtp server to accomplish this.
thanks

Clues...
The receiving email ports are:
IMAP is port 143
IMAP-SSL is port 993
POP is port 110
POP-SSL is port 995
SMTP and SMTP-SSL is on ports 25, 587 and 465. Port 587 has to be SSL, and port 465 is enforced TLS-wrapped and is generally used by Outlook users.
Try ports other than 25.

Similar Messages

  • Send mail  option triggering mail into documents

    hi
    im using send mail option in the workflow definition, the mail is triggered but its going to the documents folder and not into the workflow inbox.
    if i want to make the option like..  complete the work item by double clicking.
    is it possible with the send mail option?
    please suggest me..
    Babu

    It is not possible to send mail options sending workitem to your workflow. It will send the mail to your inbox i.e to Document folder. If your work involves some decision steps .. use decision task. Or else use Activity and create a task behind that.
    Hope this reply helps You

  • RSWUWFML2 sending mail to all possible agents

    I have configured RSWUWFML2 and it is sending mail to Notes fine just the wrong agents.  I am wanting to send workflow messages from tasks etc in Quality Notifications and I have created an org structure and just assigned this structure as the agent in the workflow config.  When I assign an individual in the notification to a task only that user is getting the actual workflow in SBWP, which is great,  however notes mails are being sent to all possible agents, i.e. those in the org structure.  Anybody encountered this before? and how to stop it?

    Please check in the workflow log which are the agents it is going to?
    I think it is going to all users and the user you are saying is also receiving at.
    Please make your agent assignment properly in order the workitem not being sent to all users.
    Thanks
    Arghadip

  • Is it possible to send mail with out giving password in javamail api?

    hi every one,
    i wrote a program to send a mail by using Java mail. In that i was providing username and password. its working fine,now because of some security issues i dont want to provide password in the application. is it possible in javamail to send a mail with giving the password?
    please help on this...
    thank you.

    JavaMail can certainly operate without a password, but the question is whether your server
    will let you send mail without a password. Chances are it won't.

  • Sending mails without using sendmail service. Is that possible?

    Hi all,
    I am considerably new to Solaris.
    I have a query,
    Is it possible to send mails out without using sendmail service?
    If so how can they be implemented in,
    Solaris 7?
    Solaris 8?
    Solaris 9?
    If it is not possible, are there any workarounds to achieve this or else this cannot be implemented at all?
    It would be really great if someone could shed light on this query.

    Your question is a little ambiguous. However, I will try to answer it.
    You need to use a program to send the email for you. On Solaris by default this is sendmail. However, it can be used in a number of modes.
    1. It can be run as a daemon, listening on port 25 for new messages to be delivered to it.
    This is enabled by default but is not necessary for sending email. If you wish to switch sendmail off as a service in Solaris10 then you should type 'svcadm disable svc:/network/smtp:sendmail'. If you wish to switch it off on earlier Solaris releases you will need to move/erase the startup script in either /etc/rc2.d or /etc/rc3.d.
    2. It can be run in 'immediate mode' to send mail immediately.
    This allows you to send a mail directly to someone. On a normally configured sendmail instance it will try to deliver the mail immediately - if the server at the other end is unavailable, the mail will be queued locally to be potentially delivered at a later date.
    3. It can run in delivery only mode to attempt to send queued mail
    Queued mail will not automatically get processed. Sendmail needs to run at a later date to attempt to deliver any queued mail. This can either be done via cron using 'sendmail -q' or sendmail can be left running the whole time and told to rerun the queue in given periods ie 'sendmail -q15m'
    There are alternatives to sendmail for delivering mail - postfix, exim, qmail are just three examples. I would advise against trying to deliver mail without using a specific mail agent to do it. Whilst the SMTP mail protocol is pretty simple in basic use cases the protocol does get complex. There is no real downside in using an established program.
    HTH.

  • Transaction failed: Cannot send mail due to possible abuse

    For the past two days, I have not been able to send mail from one of my Verizon.net sub-accounts using Mozilla Thunderbird. However I can send mail from the Verizon Yahoo webmail website.
    I get this error message:
    An error occurred while sending mail. Transaction failed: Cannot send mail due to possible abuse; please visit http://postmaster.yahoo.com/abuse_smtp.html for more information.
    And when I click on "OK" in the message box, this second error message pops up:
    Sending of message failed. The message could not be sent because the connection to SMTP server outgoing.yahoo.verizon.net was lost in the middle of the transaction. Try again or contact your network administrator.
    When I go to http://postmaster.yahoo.com/abuse_smtp.html, there is just a generic Yahoo help page, with nothing specific about this problem.

    The possible abuse is likely a 24 hour hold for accounts suspected of sending Spam. Are you still having issues? Also what ports do you have the incoming/outgoing server set to?
    Anthony_VZ
    **If someones post has helped you, please acknowledge their assistance by clicking the red thumbs up button to give them Kudos. If you are the original poster and any response gave you your answer, please mark the post that had the answer as the solution**
    Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or plan

  • Installed Ziggo e-mail on i-phone 4. Not possible to send mail because server was not able to read adress. What to do?

    Installed Ziggo e-mail on i-phone 4j ust like their website tells you to do. Mails come in but it is not possible to send mails. The i-phone tells me the server doesn't recognise the forwarding e-mail adres.
    Ziggo helpdesk tell me this is not their problem but the problem of Apple.
    Please help.
    Joop

    like stated here only you can just focus on verifying that your smtp settings are correct
    https://discussions.apple.com/thread/3925779?tstart=0

  • Sending Mail not possible

    Re-installed Mail and imported Mailboxes, with minimum hassle. Now cannot send mail. Message stays in Outbox. Why not in Draft ?. Message now reads ...The SMTP server does not support SSL on Port 25..
    when trying to send a mail. Checking with my ISP, I was able to send & receive mail on their web server.
    Repaired permissions, Run Applejack etc. Dumped Mail caches and Envelope index on Desktop.
    Any clues or suggestions welcome.

    Clues...
    The receiving email ports are:
    IMAP is port 143
    IMAP-SSL is port 993
    POP is port 110
    POP-SSL is port 995
    SMTP and SMTP-SSL is on ports 25, 587 and 465. Port 587 has to be SSL, and port 465 is enforced TLS-wrapped and is generally used by Outlook users.
    Try ports other than 25.

  • When sending mail to a recipent with "unrouteable adress" I get a popupwarning. Is it possible to disable this popup?

    I am trying to disable a popup alert I get when I send a message to a recipient with an error.
    I get the message "Unrouteable adress" as a popup and have to press OK to continue to send mails. The reason I want to disable this is that we are using thunderbird to send out newsletter, and have to press OK on all adresses that is wrong.

    Another option is to make an Automator workflow that creates a new email message formatted as you like. Here are the steps:
    Open Automator and create a New Service.
    Set it to no input in Mail
    From the Utilities Library, drag the run Applescript action into the workflow pane.
    Copy and paste in this script (replacing what is already there):
    property fontName : "Lucida Handwriting"
    property fontSize : 14
    property fontColor : {14848, 26112, 65535} as RGB color
    property emailMessage : "Hello "
    on run {input, parameters}
              tell application "Mail"
                        set theMessage to make new outgoing message with properties {visible:true}
                        set the content of theMessage to emailMessage
                        tell content of theMessage
                                  set the font to fontName
                                  set the size to fontSize
                                  set the color to fontColor
                        end tell
              end tell
    end run
    Change all the Properties to what you want for defaults.
    Save the workflow with a useful name.
    Open Keyboard System Preferences, Shortcuts menu
    Select Services category
    Scroll to the bottom section and find you service; select it.
    Tab the shortcut field and type the shortcut you want to use. Note that a lot of the N shortcuts are used. I found ctrl-opt-N was free.
    Open Mail, go to the Mail menu > Services > name of service
    That will open a new mail window. Close it and try the Shortcut.
    To get the right color values, you can use the color picker, RGB Slider values multiplied by 256. That's not quite perfect, but it is close. The maximum value is 65535

  • Is it possible to restrict user to send mail outside the company?

    Hi,
    When deploy beehive locally for my company, I would like to know is it able to restrict user from sending mail outside the company?
    Please give some infomation about that
    Thanks

    hlthanh,
    would you like to restrict particular users or all users as a whole?
    ["Managing Oracle Beehive E-mail Components"|http://download.oracle.com/docs/cd/E16671_01/bh.200/e16648/email.htm#BABBIFII] has details on configuration options.
    Most installations will consider fronting a postfix or sendmail MTA, adding further control options.
    HTH, Tom

  • Send mail via WLAN not possible

    Whenever I try to send mails while being connected via WLAN, Apple Mail tells me that it cannot connect to the relevant smtp server opening a window to choose another one.
    This is NOT happening when I am connected to the web to the SAME NETWORK or any other network but just via cable.
    When I try to send mails while being connected to the web using my Vodafone UMTS card the same happens.
    I always use the same mail accounts and settings thererof.
    Receiving mails is no problem, browsing the web no problem.
    Any idea

    Most if not all ISPs used for connecting to the internet block the use of SMTP servers that are outside of their network (or not provided by the ISP) on Port 25 which is the most common and default port used for all SMTP servers.
    Some ISPs allow the use of an authenticated SMTP server only (such as the .Mac and AOL SMTP servers) on Port 25 but some block its use regardless.
    This is entirely left up to an controlled by the ISP used for connecting to the internet at the time.
    Go to Mail > Preferences > Accounts and under the Account Information tab for your .Mac account preferences at the SMTP server selection, select the Server Settings button below for the .Mac SMTP server.
    Enter 587 in place of 25 in the Server Port field and when finished, select OK to save the changed settings.
    Test if this resolves the problem which it should since you are able to send messages with your AOL account and authenticated SMTP server which also used Port 587 for the Server Port.
    Go to Mail > Preferences > Accounts and under the Account Information tab for your AOL account preferences at the SMTP server selection, select the Server Settings button below to confirm the AOL authenticated SMTP server is using 587 for the Server Port.

  • Unable to send mail, but only at my office (!)

    This one is really strange. Lots of information gathered over the last 10 days or so, on which I can't send mail through two of my accounts.
    I got this new MacBook Pro with Snow Leopard factory-installed. This is not an upgrade problem.
    I imported my user account from a Time Machine backup, but did not import any apps or system files. I had to install all my 3rd party apps, configure networking for my two locations (Home and Office), etc.
    The problems started on 10.6.0. Mail couldn't send messages through any of my accounts. Receiving has always been OK. Updated to 10.6.1 and problems went away.
    Since the 10.6.2 update, I can't send mail again, but in very special circumstances:
    - Only two of my mail accounts, hosted at my hosting provider, have this problem. Gmail works flawlessly, though I feel a little lag before actual mail is sent, specially at my office;
    - Only when I am at my office, where we use public IP addresses on the LAN. Everything works perfectly at home or other places (public hotspots, other networks, etc.) where private IP addresses are used on the LAN!
    All other Macs at the office, which use Leopard (10.5), work fine and dandy. We don't use DHCP. All computers are configured manually and connect to the same wireless network. I already checked my firewall and both the ISP and hosting provider.
    I already did everything mentioned in other threads here: repair permissions, rebuild mailboxes, everything! I even created another user account on my Mac and configured everything from scratch. I didn't re-install Mac OS X, though.
    Any ideas?
    Message was edited by: fdonadio

    Barry,
    I did that. I also tried deleting that plist and reconfiguring all my mail accounts, but that didn't work.
    Then I thought I could get the problem solved by creating a new user account on my Mac -- a clean home folder should eliminate the culprit --, but it didn't work either.
    I decided to give up on that, now that I can send mail anyway. I will let this question as unanswered so people can suggest possible fixes.
    Thanks for caring and trying to help!
    One more piece of info that can help:
    - Connection Doctor showed me a red bubble for these accounts, telling me to check the username and password.
    - Looking at the details (log drawer of Connection Doctor), I saw that my mail server was responding with a 250 code, but Mail waited 30 seconds to send the EHLO command. By that time, the server had timed out.
    - Mail would then try again, but this time it would send a HELO command, which my mail server does not accept.

  • RE: Can't send mail with iCloud from Mac

    OK so you have made everyone using a mobileme account switch to iCloud-  I still use the mail icon on my Macbook Pro and every now and then
    the server quits and does not allow me to send emails.  I run the server doctor and only my address gets the green light.  The smtp.me.com: my username
    is always red.  I have checked my user name and made sure my password is correct and still I m locked out of sending emails.  I have time sensitive work that I need to send it to clients and there is nothing more frustrating than having to tell a client, I can't send an email right now.  What can be done for this. 
    Here is what the details have to say:
    CONNECTED Nov 15 22:11:25.456 [kCFStreamSocketSecurityLevelNone]  -- host:smtp.me.com -- port:25 -- socket:0x7fdd620ef180 -- thread:0x7fdd6218a0e0
    CONNECTED Nov 15 22:11:25.501 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd63276c70
    READ Nov 15 22:11:25.554 [kCFStreamSocketSecurityLevelNone]  -- host:smtp.me.com -- port:25 -- socket:0x7fdd620ef180 -- thread:0x7fdd6218a0e0
    220 asmtpout026.mac.com -- Server ESMTP (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011))
    WROTE Nov 15 22:11:25.584 [kCFStreamSocketSecurityLevelNone]  -- host:smtp.me.com -- port:25 -- socket:0x7fdd620ef180 -- thread:0x7fdd6218a0e0
    EHLO [10.0.1.4]
    READ Nov 15 22:11:25.687 [kCFStreamSocketSecurityLevelNone]  -- host:smtp.me.com -- port:25 -- socket:0x7fdd620ef180 -- thread:0x7fdd6218a0e0
    250-asmtpout026.mac.com
    250-8BITMIME
    250-PIPELINING
    250-CHUNKING
    250-DSN
    250-ENHANCEDSTATUSCODES
    250-EXPN
    250-HELP
    250-XADR
    250-XSTA
    250-XCIR
    250-XGEN
    250-XLOOP 29D2C3CB10528E4A901ADA1FF9173EF9
    250-STARTTLS
    250-AUTH PLAIN LOGIN
    250-AUTH=LOGIN PLAIN
    250-ETRN
    250-NO-SOLICITING
    250 SIZE 0
    WROTE Nov 15 22:11:25.691 [kCFStreamSocketSecurityLevelNone]  -- host:smtp.me.com -- port:25 -- socket:0x7fdd620ef180 -- thread:0x7fdd6218a0e0
    STARTTLS
    READ Nov 15 22:11:25.746 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd63276c70
    * OK iSCREAM ready to rumble (1F4302+:16701)
    WROTE Nov 15 22:11:25.752 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd631545b0
    1.33 CAPABILITY
    READ Nov 15 22:11:25.804 [kCFStreamSocketSecurityLevelNone]  -- host:smtp.me.com -- port:25 -- socket:0x7fdd620ef180 -- thread:0x7fdd6218a0e0
    220 2.5.0 Go ahead with TLS negotiation.
    READ Nov 15 22:11:25.825 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd631545b0
    * CAPABILITY st11p00mm-iscream017.mac.com 1F4302+ XAPPLEPUSHSERVICE IMAP4 IMAP4rev1 SASL-IR AUTH=ATOKEN AUTH=PLAIN
    1.33 OK !!
    WROTE Nov 15 22:11:25.985 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd631545b0
    2.33 AUTHENTICATE ATOKEN MjA0MzExOTMyADIwNDMxMTkzMgBBUUFBQUFCT3d6ZnQ0RVlrUDZ3V3c4TVZYcFQwK1NicDBIY2FvVkE 9
    WROTE Nov 15 22:11:26.196 [kCFStreamSocketSecurityLevelTLSv1SSLv3]  -- host:smtp.me.com -- port:25 -- socket:0x7fdd620ef180 -- thread:0x7fdd6218a0e0
    EHLO [10.0.1.4]
    READ Nov 15 22:11:26.302 [kCFStreamSocketSecurityLevelTLSv1SSLv3]  -- host:smtp.me.com -- port:25 -- socket:0x7fdd620ef180 -- thread:0x7fdd6218a0e0
    250-asmtpout026.mac.com
    250-8BITMIME
    250-PIPELINING
    250-CHUNKING
    250-DSN
    250-ENHANCEDSTATUSCODES
    250-EXPN
    250-HELP
    250-XADR
    250-XSTA
    250-XCIR
    250-XGEN
    250-XLOOP 29D2C3CB10528E4A901ADA1FF9173EF9
    250-AUTH PLAIN LOGIN
    250-AUTH=LOGIN PLAIN
    250-ETRN
    250-NO-SOLICITING
    250 SIZE 0
    WROTE Nov 15 22:11:26.309 [kCFStreamSocketSecurityLevelTLSv1SSLv3]  -- host:smtp.me.com -- port:25 -- socket:0x7fdd620ef180 -- thread:0x7fdd6218a0e0
    QUIT
    READ Nov 15 22:11:26.522 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd631545b0
    2.33 OK User adnohcs logged in 335182
    WROTE Nov 15 22:11:26.529 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd6218a0e0
    3.33 CAPABILITY
    READ Nov 15 22:11:26.697 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd6218a0e0
    * CAPABILITY XAPPLEPUSHSERVICE IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY UNSELECT SORT CATENATE URLAUTH LANGUAGE ESEARCH ESORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES CONDSTORE ENABLE CONTEXT=SEARCH CONTEXT=SORT WITHIN SASL-IR SEARCHRES XSENDER X-NETSCAPE XSERVERINFO X-SUN-SORT ANNOTATE-EXPERIMENT-1 X-UNAUTHENTICATE X-SUN-IMAP X-ANNOTATEMORE XUM1 ID IDLE
    3.33 OK Completed
    WROTE Nov 15 22:11:26.706 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd6218a0e0
    4.33 ID ("name" "Mac OS X Mail" "version" "5.1 (1251.1)" "os" "Mac OS X" "os-version" "10.7.2 (11C74)" "vendor" "Apple Inc.")
    READ Nov 15 22:11:26.912 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd6218a0e0
    * ID NIL
    4.33 OK Completed
    WROTE Nov 15 22:11:26.920 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd6218a0e0
    5.33 LIST "" ""
    READ Nov 15 22:11:27.093 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd6218a0e0
    * LIST (\Noselect) "/" ""
    5.33 OK Completed
    WROTE Nov 15 22:11:27.103 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd621df3b0 -- thread:0x7fdd6218a0e0
    6.33 LOGOUT
    CONNECTED Nov 15 22:12:20.509 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd61f36ff0
    READ Nov 15 22:12:20.724 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd61f36ff0
    * OK iSCREAM ready to rumble (1F4302+:31530)
    WROTE Nov 15 22:12:20.734 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd623e2220
    1.34 CAPABILITY
    READ Nov 15 22:12:20.796 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd623e2220
    * CAPABILITY st11p00mm-iscream023.mac.com 1F4302+ XAPPLEPUSHSERVICE IMAP4 IMAP4rev1 SASL-IR AUTH=ATOKEN AUTH=PLAIN
    READ Nov 15 22:12:20.804 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd623e2220
    1.34 OK !!
    WROTE Nov 15 22:12:20.978 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd6227e390
    2.34 AUTHENTICATE ATOKEN MjA0MzExOTMyADIwNDMxMTkzMgBBUUFBQUFCT3d6ZnQ0RVlrUDZ3V3c4TVZYcFQwK1NicDBIY2FvVkE 9
    READ Nov 15 22:12:21.493 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd6227e390
    2.34 OK User adnohcs logged in 335037
    WROTE Nov 15 22:12:21.503 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd623e2220
    3.34 CAPABILITY
    READ Nov 15 22:12:21.658 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd623e2220
    * CAPABILITY XAPPLEPUSHSERVICE IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY UNSELECT SORT CATENATE URLAUTH LANGUAGE ESEARCH ESORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES CONDSTORE ENABLE CONTEXT=SEARCH CONTEXT=SORT WITHIN SASL-IR SEARCHRES XSENDER X-NETSCAPE XSERVERINFO X-SUN-SORT ANNOTATE-EXPERIMENT-1 X-UNAUTHENTICATE X-SUN-IMAP X-ANNOTATEMORE XUM1 ID IDLE
    3.34 OK Completed
    WROTE Nov 15 22:12:21.670 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd623b1870
    4.34 ID ("name" "Mac OS X Mail" "version" "5.1 (1251.1)" "os" "Mac OS X" "os-version" "10.7.2 (11C74)" "vendor" "Apple Inc.")
    READ Nov 15 22:12:21.815 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd623b1870
    * ID NIL
    4.34 OK Completed
    WROTE Nov 15 22:12:21.826 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd623e2220
    5.34 LIST "" ""
    READ Nov 15 22:12:22.060 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd623e2220
    * LIST (\Noselect) "/" ""
    5.34 OK Completed
    WROTE Nov 15 22:12:22.073 [kCFStreamSocketSecurityLevelNegotiatedSSL]  -- host:p99-imap.mail.me.com -- port:993 -- socket:0x7fdd6330d8d0 -- thread:0x7fdd623e2220
    6.34 LOGOUT
    maybe you can figure out why I can't send any email and possibly help me to fix the problem.  I m not a fan of iCloud it has been nothing but a headache and I am tired of having to put my clients off.  I am loosing money thanks to all of this.
    Sweeney Graphics

    It's a bad idea to post your email address - it's an invitation to spam - and I've aasked the Hosts to remove it.
    The first thing to try would be to sign out in System Preferences>iCloud, then sign back in again and check 'Mail' and any other data types you need in the list. This will set Mail up, hopefully correctly.
    If you are still having problems accessing or sending mail go to http://appleid.apple.com and change your password, making sure that it complies with Apple's requirements: at least eight characters, of which at least one must be a numeral and one a capital letter.
    Note that iCloud does not interact with any other email service. You cannot use it to check other email accounts, and you cannot send using its smtp server with any address other than your @me.com one as the 'From' address.
    You should be able to set up other accounts separately in the Mail application: these would be unaffected by iCloud in any way.

  • Sending mail with authentication

    Dear All,
    I am trying to send mail with authentication. My Mail server requires username and password while sending mails from Netscape.
    But when I am sending mail through java mail api, I can send email with wrong username and password.
    Actually when I enable debug, I am getting the following prints.
    DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
    DEBUG: SMTPTransport trying to connect to host "vkarthik.net.com", port 25
    DEBUG SMTP RCVD: 220 vkarthik.net.com ESMTP Sendmail 8.12.5/8.12.5; Thu, 8 Jan 2004 21:04:59 +0530
    DEBUG SMTP SENT: helo saravanakumar.net.com
    DEBUG SMTP RCVD: 250 vkarthik.net.com Hello saravanakumar [192.168.4.50], pleased to meet you
    DEBUG: SMTPTransport connected to host "vkarthik.net.com", port: 25
    DEBUG SMTP SENT: NOOP
    DEBUG SMTP RCVD: 250 2.0.0 OK
    DEBUG SMTP SENT: mail from: <[email protected]>
    DEBUG SMTP RCVD: 250 2.1.0 <[email protected]>... Sender ok
    DEBUG SMTP SENT: rcpt to: <vkarthik>
    DEBUG SMTP RCVD: 250 2.1.5 <vkarthik>... Recipient ok
    Verified Addresses
    vkarthik
    DEBUG SMTP SENT: data
    DEBUG SMTP RCVD: 354 Enter mail, end with "." on a line by itself
    DEBUG SMTP SENT:
    DEBUG SMTP RCVD: 250 2.0.0 i08FYxbY017757 Message accepted for delivery
    I set mail.smtp.auth as true correctly.
    When I browse through this forum I found that authentication is performed If we get debug prints as follows.
    DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
    DEBUG SMTP: useEhlo true, useAuth true
    DEBUG: SMTPTransport trying to connect to host "smtp.mail.yahoo.com", port 25
    DEBUG SMTP RCVD: 220 smtp011.mail.yahoo.com ESMTP
    DEBUG: SMTPTransport connected to host "smtp.mail.yahoo.com", port: 25
    DEBUG SMTP SENT: EHLO wva24-d9kzst01
    DEBUG SMTP RCVD: 250-smtp011.mail.yahoo.com
    250-AUTH=LOGIN PLAIN
    250-PIPELINING
    250 8BITMIME
    DEBUG SMTP Found extension "AUTH=LOGIN", arg "PLAIN"
    DEBUG SMTP Found extension "PIPELINING", arg ""
    DEBUG SMTP Found extension "8BITMIME", arg ""
    DEBUG SMTP: Attempt to authenticate
    DEBUG SMTP use AUTH=LOGIN hack
    DEBUG SMTP SENT: AUTH LOGIN
    DEBUG SMTP RCVD: 334 VXNlcm5hbWU6
    I guess the following statement is missing in my case.
    DEBUG SMTP: useEhlo true, useAuth true
    Could You please let me know why I am not getting this? Am I doing something wrong in my code?
    Or it is a problem in the mail server?
    Thanking you,
    Saravanakumar

    Hi Sravankumar,
    Can you please let me know the Version of the JDK which you used earlier, which had those old mail.jar & activation.jar files through which you were able to send mails without SMTP authentication.
    Another thing which I wanted to know from you is that were the mails reaching the destination. I want to make sure about this since,even though SMTP Authentication at the client side is disabled, if the SMTP Mail Server does not accept invalid Email IDs as userIDs, then I guess we will not be able to send mails. Please clarify on this.
    My requirement is that I want to send mails without a valid User Login through that SMTP Mail Server.
    If possible also please send across the piece of code which does the same
    Regards,
    Madhukar KR

  • Sender Mail Adapter - forcing content as an attachement

    Hi all,
    We are using the Sender Mail Adapter to pull emails from the inboxes of some users of an exchange server.  We use the Mail Package option.
    We have noticed that the content of the emails are by-default added as attachments when there are no real attachments to the emails.  However the content is not added as an attachment when one or more attachments are present in these emails.
    Is there a way of forcing the Sender Mail Adapter to always add the content as an attachment and keeping the other attachments as well?  and of course maintain the Mail Package message type as the main payload...?
    Many thanks,
    Aldo

    Hi Stefan,
    Thanks for your reply.  I am glad to hear that I am wrong again )
    In your opinion is it possible to force the Outlook Exchange server to add the content attachment every time?  I mean by doing some configuration on it...?
    The reason why we would like to do this is because when - in the content tag of a Mail Package message - we have MIME message parts that are of content-type text/html we are having problems in decoding the html back to a readable format.
    To do this we use the apache QuotedPrintableCodec Java class.
    This works fine when the content type of the message is just text/plain but we get an exception when we try with text/html.
    The exception we get is:
    org.apache.commons.codec.DecoderException: Invalid URL encoding: not a valid digit (radix 16): 13
    I don't know if this is because of the two character sets we have in the payload (utf-8 and iso-8859-1) or if it is for other reasons...
    If you could help me figure out how to forward any HTML email to another system in a readable format it would be great.
    Thanks for your support,
    Aldo

Maybe you are looking for

  • ICal won't recognize calendars in a calendar group

    First - I do not use the cloud, everything is stored on my local hardDisk Second - the problem is only with iCal. Other programs can see calandars within calendar groups just fine. Third and most importantly - I apologize in advance for misspelling c

  • TRANSFER POSTING FROM ONE MATERIAL CODE TO NEWLY CREATED MATERIAL CODE

    Let me know how to transfer stock of one material into another newly created material.

  • Output device "" not known

    Hi Expert, I try to execute SWU3 for automatic customizing workflow on ECC 6.0. I have got error Output device "" not known and no background job is executing in my system . This error I am getting for this activities Schedule Background Job for Miss

  • Is it possible to delete the item in sales order .

    Hi I have 5 items in the sales order ,  The delivery and billing is over . But the one line item still shows the open status . Is it possible to delete that  item in the order ? Thanks, Phani

  • Why do email recipients receive "Part 1.2.3" attachments?

    Every email sent using Mail that has attachments also includes an extra file, named "Part 1.2.3" or something. Anyone NOT using Mail as an email client gets these files. The file contents are something like "<html><body style="word-wrap: break-word;