Mail testing through ESMTP

hi,
I have cisco ironport C370. we configured and try to send mail through ESMTP. I got the following error
Your message did not reach some or all of the intended recipients.
      Subject:  test mail @ 3:31 PM
      Sent:     1/20/2011 3:32 PM
The following recipient(s) cannot be reached:
      ( to address) on 1/20/2011 3:32 PM
            There was a SMTP communication problem with the recipient's email server.  Please contact your system administrator.
            (from address) #5.5.0 smtp;550 #5.1.0 Address rejected.>
Pls give solution to solve the issue.

Looks like the other mailserver did not like the recipient address or domain. Did you sent the message to an existing account? And is the error message from your internal mailserver that tries to reach the IronPort, or did the IronPort receive the error from the mailserver it wanted to deliver?
Andreas

Similar Messages

  • I can no longer receive e-mail messages through my @mac/@me account. I can still send e-mail messages, though. I believe there may have been recent attempts to hack into my account. I have changed my password, but wonder how to start receiving mail again?

    I can no longer receive e-mail messages through my @mac/@me account, though I still seem to be able to send messages. I believe there may have been recent attempts to hack into my Mail account (my LinkedIn and Facebook accounts were both hacked three days ago and a scam/phishing message sent to my contacts, and I know there was at least an attempt made to hack into one of my e-mail accounts). I have already changed my Apple password, but how do I start receiving mail again?
    (And I should also say that I'm a little surprised there was no alert from Apple of suspicious activity on my account, if such was the case. Instead, when I logged into my account via Mobile Me three days ago I noticed that all messages in my inbox were gone as well as all of my contacts. I assume this was related to the current problem.)
    Thanks for all responses.

    The problem has been solved with the help of a MobileMe online counsellor. My MobileMe account had in fact been hacked into and the fraudster had been redirecting my e-mail messages to a phony account that he controlled. We took the forward off and reset all my passwords and security questions, which solved the immediate problem.
    Thx.

  • Mapping test throughs exception for UDF that does'nt exist anymore

    Hello everybody,
    my mapping test throughs an exception for a UDF that I deleted?
    Any ideas?
    Regards Mario

    Hi Mario,
       Sometimes XI Mapping test may throw an Error if any of the other UDF is having errors.
       So please do the following and check whether you are able to run mapping test.
       1. Check all the UDF for any syntax errors/import stmt error etc.
       2. goto Edit mode and do some dummy changes (Like changing UDF Description etc) and activate and check again.
    Regards,
    Ananth

  • Yahoo mail sent through Mail app do not appear when login into Yahoo mail

    Hi everybody,
    I have a problem that annoying me very much. I've used Yahoomail for very long before I bought a MBA. For the first time I use Mac OSX, I try to use Mac mail combine with my old Yahoo mail. Actually, I have done the config. But anything I do with my Yahoo mail through Mail app can't appear when I login into original Yahoo mail. For example: I sent a Yahoo mail through Mac mail, it's shown that the mail was sent sucessfully, but when I try to login into Yahoo mail on Web, the sent mail doesn't exist. And the same happen when I do the opposite: the mail I sent on Yahoo mail doesn't exist on Mac mail. It's a big trouble if I use other lap and try to contact with someone. So is there any solution can fix it?
    Many thanks

    I'm having the same problem, and the only help I ever seem to find suggested anywhere is "make sure its set up as an IMAP account"
    BUT it is! Mail automaticly sets all yahoo accounts up as IMAP. So is this just a yahoo problem? Is there anyway to fix this?
    For me the bigger issue isnt that I need to be able to check my e-mail through a web browser regulerly, but on my Iphone and Ipad the account, which is through the mail app, also dosnt show sent mail sent through the mac app.
    I agree this makes mail on my mac totally usless.

  • Volume of junk mail getting through

    In the last few days it appears there's a good deal more obvious junk mail getting through the Mail app's filtering process. Is there something I can do, or has something changed in the software? I checked, and my prefs are set correctly to filter junk & keep it out of my inbox.

    My Apple Mail client is set up for:-
    Account type ---- iCloud IMAP
    Description--------iCloud
    [email protected]@[email protected]
    I have no rules for junk and this is the setup for Junk mail in the Mail preferences.
    I do not know what to suggest, Has I said if I get 2 or 3 junk mails a month that is about it with those settings so Apple must be filtering my mail very well, why not yours I would suggest you contact them.
    https://www.apple.com/uk/support/icloud/contact/

  • I cannot access my voice mails.  I can't get to voice mail either through the phone app nor the viooice mail app.  When I try I get message the "can not complete call as dialed."t  Any ideas?

    I cannot access my voice mails.  I can't get to voice mail either through the phone app nor the viooice mail app.  When I try I get message the "can not complete call as dialed."t  Any ideas?

        backpack12,
    Voicemails are a vital part of having a working phone. We do suggest that you look at the contact and then the number to make sure that it is *86. If you are needing to get your voicemails until then, please dial *86.
    RobinD_VZW
    Follow us on twitter @VZWSupport

  • HT201363 no e mail coming through to rest password

    I've recently changed my apple id due to changing broadband provider . This has left me with a problem on my I phone 5 keeps flashing up for password for I cloud which has old e mail address and wont accept password or reset no e mail comes through very frustrating any ideas how I can fix this

    Hi obxboy,
    Not being able to access your account would certainly make placing orders difficult, so I can imagine how anxious you must feel to find a resolution.
    I've had the chance to review your account and believe I was able to determine the cause of the problem. I've reset your password from our end to see if that resolves the issue, so please make sure to keep an eye on both your inbox and junk mail folders for a confirmation message. Please note that this message will only be valid for two hours, so you'll need to request another password reset here if you're unable to access the message within that timeframe. Additionally, when you sign back in, please make sure to do the following on order:
    Log out of your BestBuy.com account completely on all devices, including the My Best Buy app
    Delete your browser history, cache, and cookies
    Visit the password reset link in your email (please be sure to check your spam folder)
    Create a new password that fits the accepted criteria (use a password you’ve never used before)
    Logout of your account as it will log you in automatically after creating the new password
    Wait 5-10 minutes and then attempt to login to your account
    Let us know if you have any other questions.
    Aaron|Social Media Specialist | Best Buy® Corporate
     Private Message

  • HT201320 I changed my email address and password and now cannot get it set up on my iPad-keeps telling me its verifying and no mail comes through

    I added the new email account per the instructions above and still cannot get it to work.  It appears that everything is setup properly, however, no mail comes through.

    Welcome to the Apple Community.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")
    Providing you are simply updating your existing details and not changing to another account, when you delete your account, all the data that is synced with iCloud will also be deleted from the device (but not from iCloud), but will be synced back to your device when you login again.

  • Mail app through proxy

    Mail app works(on a gmail account), but only when connected through a network directly, not through a proxy.
    Is there any way to make mail work through a http proxy on port 8080, or is the mail app simply ignoring proxy settings (which are, of course, correctly set)?
    If this is impossible with the standard mail app, is there any mail app that would solve my problem?

    I'm having the same problem. I can't find a solution. Did you ever find the problem?

  • Command how many mails when through the mailstore for a specific domain.

    I need to get info from the maillog to see how many mails when through the mailstore for a specific domain.
    For example all the mails send and received by example.com witch is hosted on that 2005q1 mailserver.
    Anyone know the commands to get it out.

    The data is certainly in the mail.log.
    You may want to start with the perl log parsing script, here:
    http://ims.balius.com/resources/downloads/files/imslog.pl

  • Webservice load test through WAPT

    Hi,
    We have developed one webservice in JAVA, and that takes an XML string as input. This webservice we need to load test through WAPT.
    This is very urgent and we are in trouble to proceed. If we are giving the input xml as string it gives the exception like
    no SOAPAction header!
    at org.apache.axis.transport.http.AxisServlet.getSoapAction(AxisServlet.java:1013)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:678)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803).
    We are very much thankful if any of you give us any solution for this.
    Our request XML String is
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Header><Interface ChannelIdentifierId="ABC XML 4 OTA DC" Version="2005A" Interface="ABC XML 4 OTA" xmlns="http://www.abcapi.com/Documentation/XML/OTA/4/2005A/"><ComponentInfo Id="37009" User="test" Pwd="test" ComponentType="Hotel" /></Interface></soap-env:Header><soap-env:Body RequestId="200708310425065wZvZr5Ofh" Transaction="HotelAvailRQ"> <OTA_HotelAvailRQ Target="Test" Version="1.003" TimeStamp="2006-08-10T15:28:29+01:00" xmlns="http://www.opentravel.org/OTA/2003/05" BestOnly="false" SummaryOnly="false" SortOrder="A" MaxResponses="100" > <POS> <Source> <RequestorID Type="18" ID="Partner"/> <BookingChannel Type="2" Primary="true"> <CompanyName>Some Company Name</CompanyName> </BookingChannel> </Source> </POS> <AvailRequestSegments> <AvailRequestSegment> <HotelSearchCriteria> <Criterion ImportanceType="Mandatory"> <StayDateRange Start="2008-10-15" Duration="Day" End="2008-10-16"> </StayDateRange> <RateRange RoomStayCandidateRPH="0" MinRate="10.00" MaxRate="50000.00" RateTimeUnit="Day" CurrencyCode="USD" DecimalPlaces="2"> </RateRange> <RatePlanCandidates> <RatePlanCandidate RatePlanCode="*" RPH="1"> <HotelRefs> <HotelRef HotelCode="37009" /> </HotelRefs> <MealsIncluded MealPlanCodes="*"></MealsIncluded> </RatePlanCandidate> </RatePlanCandidates> <RoomStayCandidates> <RoomStayCandidate RoomType="*" RoomTypeCode="*" Quantity="2" RPH="2" RatePlanCandidateRPH="1"> <GuestCounts IsPerRoom="true"> <GuestCount AgeQualifyingCode="1" Count="1"> </GuestCount> <GuestCount AgeQualifyingCode="1" Count="1"> </GuestCount> </GuestCounts> </RoomStayCandidate> </RoomStayCandidates> <Profiles> <ProfileInfo> <Profile ProfileType="1"> <Customer> <PersonName> <GivenName>Person A GivenName</GivenName> <Surname>Person A Surname</Surname> <NameTitle>Person A NameTit</NameTitle> </PersonName> <Telephone PhoneTechType="1" PhoneNumber="7709626425"/> <Telephone PhoneTechType="3" PhoneNumber="7709626425123"/> <Email>[email protected]</Email> <Email>[email protected]</Email> <Address> <AddressLine>11545 Wells Road</AddressLine> <CityName>Alpharetta</CityName> <PostalCode>30004</PostalCode> <StateProv StateCode="GA"/> <CountryName Code="US"/> <CompanyName>Person A CompanyName</CompanyName> </Address> <CustLoyalty MembershipID="1234567" ProgramID="some programm id"/> </Customer> </Profile> </ProfileInfo> </Profiles> </Criterion> </HotelSearchCriteria> </AvailRequestSegment> </AvailRequestSegments> </OTA_HotelAvailRQ> </soap-env:Body></soap-env:Envelope>
    Thanks in Advance,
    Rajeev

    My company used AppLoader to run tests through NRG Global. We didn’t have a lot of people to dedicate to the testing, so we paid NRG a consulting fee to do it for us (for surprisingly less than we thought!). We had them test a Citrix & .net client/server application (with 300 users) and an Apache web application with Ajax (150 users). AppLoader is protocol independent, so it worked just fine with both. Also, it tests from the front end, so you can watch the GUI replay. They also have password encryption, although we didn’t use it for our tests.
    They were able to run the tests & get the data back to us quickly. We ended up with some failures & errors, but they gave us a detailed report with screenshots, logs & graphs which enabled us to find the problem, get it fixed and get our application up quickly. Turns out we had a memory leak. It was a relief to have the test done so fast, thorough & without the huge price tag. I spoke with the consultant there directly. She was very nice & helpful walking me through the results. Hope that helps. Good luck!

  • How to send an external mail(PDF) through SCOT

    Dear All,
                     We have a requirement to mail customer invoice converting the smartform into a PDF. All the neccesary configuration that needs to be done in NACE and SPRO transactions has been done.Now when we issue the output through an output type through transaction VF03, output is successfully issued.In SP02 also it shows the printing is successfully completed.
                     But when i want to want to check the display log aginst the
    output type and billing doc issued it says dat the processing log dosnt exist.We have configured the SCOT transaction for sending external email but it doesnt send the mail and even doesnt show any request in waiting and as well as no errors so we are not being able to identify whether the configuration done is wrng which doesnt seem to be the case or is dere a problem with SCOT configuration.
                     Could any1 pls help me with the entire flow of configuring SCOT if possible with screenshots for sending external email . or if possible wat is the possible problem we are facing...
                     Awaiting ur reply shortly.
    Thanks & Regards,
    Lailu Philip.

    Internal Table declarations
    DATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
          i_tline TYPE TABLE OF tline WITH HEADER LINE,
          i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
          i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    Objects to send mail.
          i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
          i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
    Work Area declarations
          wa_objhead TYPE soli_tab,
          w_ctrlop TYPE ssfctrlop,
          w_compop TYPE ssfcompop,
          w_return TYPE ssfcrescl,
          wa_doc_chng typE sodocchgi1,
          w_data TYPE sodocchgi1,
          wa_buffer TYPE string,"To convert from 132 to 255
    Variables declarations
          v_form_name TYPE rs38l_fnam,
          v_len_in LIKE sood-objlen,
          v_len_out LIKE sood-objlen,
          v_len_outn TYPE i,
          v_lines_txt TYPE i,
          v_lines_bin TYPE i.
    call function 'SSF_FUNCTION_MODULE_NAME'
         exporting
              formname           = 'ZZZ_TEST1'
         importing
              fm_name            = v_form_name
         exceptions
              no_form            = 1
              no_function_module = 2
              others             = 3.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    w_ctrlop-getotf = 'X'.
    w_ctrlop-no_dialog = 'X'.
    w_compop-tdnoprev = 'X'.
    CALL FUNCTION v_form_name
         EXPORTING
              control_parameters = w_ctrlop
              output_options     = w_compop
              user_settings      = 'X'
         IMPORTING
              job_output_info    = w_return
         EXCEPTIONS
              formatting_error   = 1
              internal_error     = 2
              send_error         = 3
              user_canceled      = 4
              OTHERS             = 5.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    i_otf[] = w_return-otfdata[].
    call function 'CONVERT_OTF'
           EXPORTING
                format                = 'PDF'
                max_linewidth         = 132
           IMPORTING
                bin_filesize          = v_len_in
           TABLES
                otf                   = i_otf
                lines                 = i_tline
           EXCEPTIONS
                err_max_linewidth     = 1
                err_format            = 2
                err_conv_not_possible = 3
                others                = 4.
      Fehlerhandling
      if sy-subrc <> 0.
      endif.
      loop at i_tline.
        translate i_tline using '~'.
        concatenate wa_buffer i_tline into wa_buffer.
      endloop.
      translate wa_buffer using '~'.
      do.
        i_record = wa_buffer.
        append i_record.
        shift wa_buffer left by 255 places.
        if wa_buffer is initial.
          exit.
        endif.
      enddo.
    Attachment
      refresh:
        i_reclist,
        i_objtxt,
        i_objbin,
        i_objpack.
      clear wa_objhead.
      i_objbin[] = i_record[].
    Create Message Body
    Title and Description
      i_objtxt = 'test with pdf-Attachment!'.
      append i_objtxt.
      describe table i_objtxt lines v_lines_txt.
      read table i_objtxt index v_lines_txt.
      wa_doc_chng-obj_name = 'smartform'.
      wa_doc_chng-expiry_dat = sy-datum + 10.
      wa_doc_chng-obj_descr = 'smartform'.
      wa_doc_chng-sensitivty = 'F'.
      wa_doc_chng-doc_size = v_lines_txt * 255.
    Main Text
    wa_doc_chng-doc_size = ( v_lines_txt - 1 ) * 255 + strlen( i_objtxt )
      clear i_objpack-transf_bin.
      i_objpack-head_start = 1.
      i_objpack-head_num = 0.
      i_objpack-body_start = 1.
      i_objpack-body_num = v_lines_txt.
      i_objpack-doc_type = 'RAW'.
      append i_objpack.
    Attachment
    (pdf-Attachment)
      i_objpack-transf_bin = 'X'.
      i_objpack-head_start = 1.
      i_objpack-head_num = 0.
      i_objpack-body_start = 1.
    Länge des Attachment ermitteln
      describe table i_objbin lines v_lines_bin.
      read table i_objbin index v_lines_bin.
      i_objpack-doc_size =  v_lines_bin * 255 .
      i_objpack-body_num = v_lines_bin.
      i_objpack-doc_type = 'PDF'.
      i_objpack-obj_name = 'smart'.
      i_objpack-obj_descr = 'test'.
      append i_objpack.
      clear i_reclist.
      i_reclist-receiver = '[email protected]'.
      i_reclist-rec_type = 'U'.
      append i_reclist.
        call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
             EXPORTING
                  document_data              = wa_doc_chng
                  put_in_outbox              = 'X'
             TABLES
                  packing_list               = i_objpack
                  object_header              = wa_objhead
                  CONTENTS_BIN               = i_objbin
                  contents_txt               = i_objtxt
                  receivers                  = i_reclist
             EXCEPTIONS
                  too_many_receivers         = 1
                  document_not_sent          = 2
                  document_type_not_exist    = 3
                  operation_no_authorization = 4
                  parameter_error            = 5
                  x_error                    = 6
                  enqueue_error              = 7
                  others                     = 8.
    1. Use the Medium 7 for sending mails instead of 1 (printout)
    2. Maintain the Mail IDs for all vendors in Vendor Master(check the ADR6 table)
    3. Do the settings for sendiing mails in SCOT and SOST tcodes with the help of Basis person
    4.In NAce also use medium 7 instead of 1 (print)
    5. In the application doc Po Me22 N also configure the output type with the medium 7 for the partner(vendor) and other sommunication method settings.
    6. CHeck the print program, I think it will consider the Medium and set the communication type automatically. check it by keeping a break point if it is not working.
    n the Smartform Functiona Module we get the Spool ID of the Smartform for the output
    use that spool ID and convert to PDF format and send mail using the fun modules
    CONVERT_ABAPSPOOLJOB_2_PDF
    SO_NEW_DOCUMENT_ATT_SEND_API1
    you have to write related code for these fun modules in the Smartform driver program itself
    and ask your basis persons to configure the SCOT and SOST tcodes to send mails to Outside Consignee Maid Id's
    REWARD POINTS IF HELPFUL
    rewar points if helpful.

  • How to get Formatted Mail Content through Java Application

    I am using a mail sending function in my applet code which is listed below:
    Main content is fetched from a format tool bar in JSP Page and it is passed as parameter to applet and it is used inside the mail content.
    Same content when passed and executed in a JSP page, the formatted content is not lost and it is included in mail content as what it is fetched from Format Tool Bar.
    Format is lost when it is used inside the Java Application mail sending function.
    The below code I have used to send mail:
    package com;
    import java.util.HashSet;
    import java.util.Properties;
    import java.util.Set;
    import javax.mail.BodyPart;
    import javax.mail.Message;
    import javax.mail.Multipart;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeBodyPart;
    import javax.mail.internet.MimeMessage;
    import javax.mail.internet.MimeMultipart;
    class mailsendClass
    public void sendmail(String from,String host,boolean debug,String msgText)
         try
              Set tomailsid = new HashSet();
              Set ccmailsid = new HashSet();
              //to mail ids           
              tomailsid.add("[email protected]" );          
              tomailsid.add("[email protected]" );
              tomailsid.add("[email protected]" );
              //cc mail ids
              ccmailsid.add("[email protected]" );
              ccmailsid.add("[email protected]" );
              String mailarray[]= (String[])tomailsid.toArray(new String[tomailsid.size()]);
              String ccmailID[]= (String[])ccmailsid.toArray(new String[ccmailsid.size()]);
              Properties props = new Properties();
              //props.put("mail.smtp.port","425");
              props.setProperty("mail.smtp.host", host);
              if (debug) props.setProperty("mail.debug", ""+debug);
              Session session = Session.getInstance(props, null);
              session.setDebug(debug);
              String mailsubject = "Mail Subject";
              // create a message
              Message msg = new MimeMessage(session);
              msg.setFrom(new InternetAddress(from));
              javax.mail.internet.InternetAddress[] toAddress=new javax.mail.internet.InternetAddress[mailarray.length];
              for (int i=0;i<mailarray.length ;i++ )
              toAddress=new javax.mail.internet.InternetAddress(mailarray[i]);
              System.out.println ("id inside to address loop " + i + " is "+ mailarray[i]);
              System.out.println ("toAddress " + i + " is "+ toAddress[i]);
              msg.setRecipients(Message.RecipientType.TO, toAddress);
              msg.setSubject(mailsubject);
              try
                   javax.mail.internet.InternetAddress[] CCAddress=new javax.mail.internet.InternetAddress[ccmailID.length];
                   for (int i=0;i<ccmailID.length ;i++ )
                        CCAddress[i]=new javax.mail.internet.InternetAddress(ccmailID[i]);
                        System.out.println("CC Array is ===> " +CCAddress[i] );//          
              msg.setRecipients(Message.RecipientType.CC,CCAddress);
              catch(Exception ss)
                   System.out.println("CC mail Exception is ====>"+ ss);     
                   msg.setSentDate(new java.util.Date());
    //          Multipart multipart = new MimeMultipart("relative");
                   Multipart multipart = new MimeMultipart("alternative");
              BodyPart messageBodyPart = new MimeBodyPart();
              messageBodyPart.setContent(msgText, "text/html");
    //          messageBodyPart.setContent(msgText, "text/plain");
              multipart.addBodyPart(messageBodyPart);          
                   msg.setContent(multipart);
              Transport.send( msg );
         catch (Exception e)
              System.out.println("The Exception is ------>"+e);
    public class SendMail {
    public static void main(String[] args)
         System.out.println("before Mail Send ");
         mailsendClass mail = new mailsendClass();
         String from="[email protected]";
         String host="172.16.2.6";
         String msgText="<p><strong>Index</strong><br />I have posted the following PDFs (Second Pages) as mentioned to start producing the Index:<br />• Engage<br />• Chapters 1–6<br /><a title='ftp:///Index' href='ftp://index/'>ftp:///Index</a><strong><br />XML Coding - Files with errors</strong><br />• Engage<br />• Chapters 1–6<br /><a title='ftp:///XML_Coding_Need%20Fixing' href='ftp://xml_coding_need%20fixing/'>ftp:///XML_Coding_Need%20Fixing</a></p>";
         mail.sendmail(from,host,true,msgText);
         System.out.println("after Mail Send ");
    Content placed in format tool bar is as follows:
    Index
    I have posted the following PDFs (Second Pages) as mentioned to start producing the Index:
    • Engage
    • Chapters 1–6
    ftp:///Index
    XML Coding - Files with errors
    • Engage
    • Chapters 1–6
    ftp:///XML_Coding_Need%20Fixing
    Content fetched from format tool bar inside JSP page is as follows:
    <p><strong>Index</strong>
    I have posted the following PDFs (Second Pages) as mentioned to start producing the Index:
    &bull; Engage
    &bull; Chapters 1&ndash;6
    <a title="ftp:///Index" href="ftp://index/">ftp:///Index</a><strong>
    XML Coding - Files with errors</strong>
    &bull; Engage
    &bull; Chapters 1&ndash;6
    <a title="ftp:///XML_Coding_Need%20Fixing" href="ftp://xml_coding_need%20fixing/">ftp:///XML_Coding_Need%20Fixing</a></p>
    Fetched Content inside Java Application through parameter and it will use as input for mail content is as follows:
    <p><strong>Index</strong>
    I have posted the following PDFs (Second Pages) as mentioned to start producing the Index:
    • Engage
    • Chapters 1–6
    <a title="ftp:///Index" href="ftp://index/">ftp:///Index</a><strong>
    XML Coding - Files with errors</strong>
    • Engage
    • Chapters 1–6
    <a title="ftp:///XML_Coding_Need%20Fixing" href="ftp://xml_coding_need%20fixing/">ftp:///XML_Coding_Need%20Fixing</a></p>
    Actual mail received after Java Application execution is as follows:
    Index
    I have posted the following PDFs (Second Pages) as mentioned to start producing the Index:
    ? Engage
    ? Chapters 1?6
    ftp:///Index
    XML Coding - Files with errors
    ? Engage
    ? Chapters 1?6
    ftp:///XML_Coding_Need%20Fixing
    Unicode characters in the mail content are replaced by “?”.
    In the function listed above I have used the MIME Setting as
    Multipart multipart = new MimeMultipart("alternative");
    I have tried by using “relative” MIME format also as
    Multipart multipart = new MimeMultipart("relative");
    But I am not getting the actual format passed as input to the Java Application in the mail content.
    Can anybody let us know how to overcome this problem?
    Thanks in advance.

    You need to really understand how the different multiparts work instead of just guessing.
    But for your application, you don't need a multipart at all. Just use msg.setText(msgText, null, "html");
    Although that doesn't explain your problem, it will simplify your program.
    How are you determining that the mail received doesn't have the formatting? Are you viewing it in a
    mail reader (e.g., Outlook)? Or are you fetching it with JavaMail?
    Are you using an Exchange server? Exchange will often reformat your message to what it thinks you meant.

  • Mail sending through proxy client

    I have the following simple code to send mail through a SOCKS proxy client:
    package com.apna.beans;
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.DataSource;
    import javax.activation.FileDataSource;
    import javax.activation.DataHandler ;
    public class SMail{
    public static void main(String[]a){
    System.setProperty("proxySet","true");
    /*System.getProperties().put("http.proxyPort","25");
    System.getProperties().put("http.proxyHost","192.168.0.1");*/
    Properties props = System.getProperties();
    String msg = "";
    // Get system properties
    final String username = "vedijitendra";
    final String password = "sendmail";
    props.put("socksProxyHost", "pc-2");
    props.put("socksProxyPort", "1080");
    props.put("mail.smtp.host", "smtp.gmail.com");
    props.put("mail.smtp.starttls.enable", "true");
    props.put("mail.user", username);
    props.put("mail.smtp.auth","true"); // this is imp for authorisation.
    //props.put("mail.host", "192.168.0.1");
    props.put("mail.debug", "true");
    props.put("mail.store.protocol", "pop3");
    props.put("mail.transport.protocol", "smtp");
    try{
    //here the authorisation takes place using an Anonymous class.
    Session session = Session.getDefaultInstance(props,
    new javax.mail.Authenticator (){
    protected
    javax.mail.PasswordAuthentication
    getPasswordAuthentication() {
    return new
    javax.mail.PasswordAuthentication(username,
    password);
    // Define message
    Message message = new MimeMessage(session);
    message.setFrom(new InternetAddress("[email protected]"));
    message.addRecipient( Message.RecipientType.TO, new
    InternetAddress("[email protected]"));
    message.setSubject("Test");
    message.setContent("text", "text/html");
    // Send the message
    Transport.send(message);
    msg = "The mail has been sent.";
    } catch(Exception e){
    e.printStackTrace();
    msg = "The mail has not been sent.";
    I am able to connect to the GMail's SMTP server.
    However, when the Transport. send method is executed, I get:
    java.lang.NullPointerException
    at com.sun.mail.util.SocketFetcher.startTLS(SocketFetcher.java:242)
    at com.sun.mail.smtp.SMTPTransport.startTLS(SMTPTransport.java:1191)
    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:348)
    at javax.mail.Service.connect(Service.java:297)
    at javax.mail.Service.connect(Service.java:156)
    at javax.mail.Service.connect(Service.java:105)
    at javax.mail.Transport.send0(Transport.java:168)
    at javax.mail.Transport.send(Transport.java:98)
    Any ideas?

    Send email to [email protected] telling me what version of JavaMail you're
    using and what version of the JDK you're using and I'll help you debug this.

  • Malicious e-mail testing

    Maybe it's because I'm frugal...but couldn't you just setup a dumby account on something like Yahoo and set up your own "phishy" e-mail? Of course, you wouldn't attach a virus but it will be a test? You could get creative by attaching a batch script to write a log if the attachment is opened on a network drive or something. 
    Best thing to do is to setup an anti-spam SaaS solution to zap these attachments and e-mails before they hit your server. Then have an endpoint solution to zap anything that makes it through.

    Hi all,
    I'm the only IT guy in a small company based in London. Currently we seem to be receiving more and more malicious e-mails, mostly containing word documents that have Macro's which can obtain bank details and other personal information.
    I've been asked to run some software to test the staff's know-how when it comes to receiving this type of e-mail. Do any of you know of any software that will enable me to do this? As we are just a small business, the cheaper option would be the most convenient.
    I look forward to your guidance.
    This topic first appeared in the Spiceworks Community

Maybe you are looking for

  • How can i delete an account

    I accidently installed 2 users an imac and now i cant use time machine cause there isnt enough space on the externel drive. i assume migration assistent put back double the back up files when i used it after a new hard disk was put in after repairs

  • Question to the Power Users RE: Time Capsule Disk Mgmt and Security

    I was real excited to get the Time Capsule, but now since I have it I have to say its lack of security and disk management features are disappointing. I am thinking of giving up on Time Machine backups completely (I have never been thrilled with TM)

  • How to add a image to ToolTip?

    the tooltip now is only can show text,i want let it show images. can?

  • EV After

    Hi, I was wondering if it was possible to have a ev_after function on the row and column in the same evdre report?  I'm noticing that the ev_after function works in both the column and the row except at the intersection where the ev_after(row) and ev

  • OS install in guest  ldom fails on install-begin script

    Hello, I am installing solaris 10 u4 on guest ldom using DVD media loaded in the physical server. The guest ldom was able to boot from DVD media and goes through installation steps where I input the hostname, ip, etc upto the section where the instal