JCAPS 5.1.2 emaileWay makes up emails?

I wrote a simple app that reads a mailbox (pop3 - emaileway), saves attachements and logs into a database (just From: and timestamp). Sometimes I get blank records in DB (like getting an email without the From field). I've tried the same with a local file and I get blank lines in the file. Sometimes, I get the email twice (when it has attachements).
Here's the code. I think, there's nothing wrong:
    public void receive( com.stc.connector.emailadapter.appconn.EmailMessageContainer input, com.stc.eways.batchext.BatchLocal BatchLocalFile_1, otdLogTable.OtdLogTableOTD otdLogTable_1 )
        throws Throwable
        otdLogTable_1.getLogTable().setText( input.getEmailMessage().getFrom().getName().concat( ", " + input.getEmailMessage().getFrom().getAddress() ) );
        otdLogTable_1.getLogTable().insert();
        timestamp = new java.sql.Timestamp( System.currentTimeMillis() );
        otdLogTable_1.getLogTable().setDate( timestamp );
        otdLogTable_1.getLogTable().insertRow();
        for (int i1 = 0; i1 < input.getEmailMessage().countAttachment(); i1 += 1) {
            BatchLocalFile_1.getClient().setPayload( input.getEmailMessage().getAttachment( i1 ).getContent() );
            BatchLocalFile_1.getConfiguration().setTargetFileName( input.getEmailMessage().getAttachment( i1 ).getName() );
            BatchLocalFile_1.getClient().put();
            BatchLocalFile_1.getClient().reset();
            otdLogTable_1.getLogTable().setText( input.getEmailMessage().getFrom().getAddress().concat( ", " + input.getEmailMessage().getAttachment( i1 ).getName() ) );
            otdLogTable_1.getLogTable().insertRow();
    }Have anyone experienced the same behaviour? Maybe it is a problem with the mailbox but I've tried different mail servers with similar results.

I figured this out myself, and just want to post the resolution in case anyone else runs into this.
This issue was that I was setting the port and server in the HTTP Client External System config, to be the JCaps domain server and HTTP port. I found that you need to leave the external system properties blank in the HTTP Client, and when you build the code, the environment items then get auto-populated from the wsdl.
Problem solved.

Similar Messages

  • How can i make a email for my printer

    how can i make a email for my printer to send the things to the email and get it printed if i was out of the house my printer model is 3525

    Hi alhashmi_sy,
    Welcome to the HP Support Forums. I see that you would like to learn how to setup the ePrint feature of your Deskjet Ink Advantage 3525 printer.
    The first step is to connect your printer to your wireless network. Please follow the steps in the Installing the Printer Software for a Wireless Network Connection document for your operating system. If you have already setup your printer with a USB cable, each operating system section has the steps to switch from the USB connection to a wireless connection.
    After connecting the printer to your wireless network please follow the steps for Getting the Printer Claim Code. Once you have the web services information sheet with your claim code please Set Up a Custom Email Address for ePrint.
    You should now have a customized ePrint email address for your printer. If you run into any issues please let me know at what step things went awry and the contents of any error messages. Please also let me know what operating system you are using on your computer (whatsmyos.com). Thank you.
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • How can I make my email screen smaller?

    How can I make my email screen smaller?

    Just what do you mean?
    Can'ty you just resize the window with the mouse cursor like other windows?

  • How can I make a email at my muse domain

    I just wanted to know how to make an email at my own domain so that i don't have to subscribe to something like godaddy.

    Using Adobe Hosting :
    - You would need to upgrade site plan to web basic+ which includes email service.
    - After adding domain , you can create email records which would be on default domain added to site.
    Using external hosting :
    - If your hosting provides email service then you can create email records on your domain
    - Or use third party email service.
    Email account creation is done on hosting platform wherever you are hosting your site.
    Thanks,
    Sanjit

  • Is there a way to create a rule for Apple Mail that when a certain person is a recipient, make the email plain text?

    My boss has a blackberry and when I send pdf attachments and copy him, he cannot see the attachments.  I forget to make the email plain text before sending it to him.  I can use Thunderbird as my client and it works fine but it is not linked to the other apps on my mac like Apple Mail.  Can I make a rule or something for Mail so that when his email address is a recipient of the email, it will send as plain text to him?

    I don't think so. Not without setting up an AppleScript and I am not proficient with those.
    You can, however, set the follolwing in Mail > Preferences > Composing
    Responding: Use the same message format as the original message.
    But that would only be for responding to messages sent from his Blackberry.

  • Make the emails do not show in the ipad or iPhone after i read them in my macbook air

    make the emails do not show in the ipad or iPhone after i read them in my macbook air

    Assuming you're using Apple's Mail on your Mac, go to your Mac's mail Preferences (from Mail on the menu bar).
    Click Accounts on top, then click your email account on the left.
    Then click Advanced on the top.
    Check "remove copy from server after retrieving a message" and set the line below it to "immediately".
    That will do it.

  • How to make the Email attachment password protected?

    Hi,
           Is there any way to make the email attachment sent via SAP password protected so that when the receiver tries to open it, it will ask for password?
    Jissa.

    see [old posts|Protect Workbook] before you post new ones..
    Regards,
    Srinivas

  • I  need change main email address in iCloud, make alias email main

    i  need change main email address in iCloud, make alias email main

    I'm afraid you can't do this. Once you've chosen the main @icloud.com address when you set up the account you can't change it (other than by creating a completely new account); and you can't make an alias the main address in the account it's in or any other account.

  • On my iPad, my outgoing email regularly replies that the email was rejected by the server because it does not allow relaying.  WHat does that mean and how do I make the email go anyway?

    on my iPad, my outgoing mail regularly replies that the email was rejected by the server because it does not allow relaying. What does that mean and how can I make the emails go out?

    Try this.
    Check your username and password in the outgoing mail server setting. Fill it in even of it says that it's optional.
    Settings>Mail, Contacts, Calendars>choose the email account>account name, tap on SMTP (under the 'Outgoing Mail Server' heading) and then tap on your Primary Server and try entering your email username and password and see if that works for you.

  • GHOSTERY EXTENSION MAKES MY EMAIL TEXT AND STREAMING VIDEOS INVISIBLE

    GHOSTERY EXTENSION MAKES MY EMAIL TEXT AND STREAMING VIDEOS INVISIBLE, can't read my individual emails only their headings and it i causing interference with all of my online tv/movie sites viewing screens/videos. they are either invisible too or will not play and some will not let me bypass the adds that read "click to hide and play". zshare says adblocking device or program is preventing videos from playing. MEGAVIDEO KEEPS TELLING ME TO DWNLD NEW VERSION OF ADOBE FLASH PLAYER - I HAVE ALREADY. i would like to revert back to the older version of ghostery worked well - HOW DO I DO THIS AS WELL? THANKS
    == Troubleshooting information ==
    i disabled all extensions and put back one at a time to locate which one was giving problems - this has only been a problem since i rec'd new extension updates andi believe the ghostery update as well

    Aish,
    Thanks for reading my question.  I had gone through the Muse styles for links and that was not the problem.  I tried it on a different computer this morning and everything went fine, even in altering the styles.  I am not sure what the problem was.....only the cloud knows.
    Thanks for responding.
    Tom

  • The recent software update deleted my notes and they are not in iCloud.  I can email some of the material to myself.  Is there a way to make an email into a note?

    The recent software update deleted my notes and they are not in iCloud.  I can email some of the material to myself.  Is there a way to make an email into a note?

    contact the delevoprs of the app and ask them what they recommend.
    Don't sync your phone in the mean time.
    best of luck

  • Can I make an email list of approx. 12 addresses to do a group message?

    Can I make an email list of approx. 12 addresses to do a group message?

    I don't know that even PC can do that.
    If you Bcc then a recipient does 'reply to all', it will still only go back to the sender. A PC will no do list expansion that way if the original message has been sent using Bcc. You can't have it both ways - you either share the email addresses so 'reply-all' works, or you hide it and reply-all doesn't work then.
    [** disclaimer: not sure if an Exchange type server allows all member users to "share" a list ** ]
    You need to use a mailing list service. If you host a domain name website, many accounts come with Smartlist or mailman, for example. So you have [email protected] is the list email address with the subscribers email addresses hidden on the server, the server expands the list and Bccs the users, but the reply to goes back to the list server which then expands and mail out BB to each subscriber again.
    Yahoogroups is exactly the same, doesn't Google have a list serv as well?

  • How do i make adobe emailer function?

    how do i make adobe emailer function?

    Here's what I found at the download site:
    Follow these steps to get started:
    You need to install the Creative Cloud app in order to install this Add-on
    Click "Get Creative Cloud App"
    Install a compatible app, if needed, and make sure to Sync files to Creative Cloud
    Turn on Files Sync when you've installed Creative Cloud app, your Add-on(s) will be automatically installed
    That's all the author has to say, other than he no longer has time to support any of his scripts.
    Because of new projects and a changing demand for my time, it will be necessary for me to move on to new projects at Adobe. For this reason I will no longer be able to support, or update many of my scripts and panels. Never fear! – I am releasing the source code for many of my programs and if you are a programmer then you can use this code to modify and change my scripts to meet your needs. If you are not a programmer then I recommend working with anyone on the list of programmers that I have supplied below. However! Let me make it clear that his code is not to be sold. This is an open and free source to be used for the good of humankind and Adobe Photoshop users around the world.
    May the source be with you...

  • Can i make my email page my home page

    I WANT TO MAKE MY EMAIL PAGE MY HOME PAGE CAN THAT BE DONE?''bold text'''

    Most webmail sites require you to login which makes what you want to do difficult. However, you can try doing this.<br><br>
    #Go to your webmail and login.<br><br>
    #Right click the tab and choose "Pin as app tab". The tab will shrink to a smaller size.<br><br>
    #Right click the orange Firefox button, go to Options | Options | General.<br><br>
    #Make sure it says "Show My Home Page" at the top.<br><br>
    #Click the button called "Use Current Pages" to set your home page to the one you have on the screen.<br><br>
    #Close Firefox and restart it again to test.<br><br>
    N.B. Make sure you don't have "Clear history when Firefox closes" checkmarked in Options | Options | Privacy.

  • How can I make more email postboxes for iPad2?

    How can I make more email maps for the iPad2?

    If you are on iOS 5 as your tagline suggests and it's an IMAP type account then you should get an Edit button at the top of the list of folders that you currently have on your email account. If it's a POP type account then you won't get the Edit button.

Maybe you are looking for

  • White lines and missing colour in extruded text

    hello, i know this question has be asked many time but i havent found a solution as yet. I am usinf Cs5 I am finding these white lines in t he 3d part of the text and missing colour in the text itself. This occurs when viewing in illustator itself an

  • Exporting Subtitle from DVD Studio Pro

    Is there a way to export subtitles from DVD Studio Pro or Is there a tool somewhere that will generate an STL file from a DVD Studio Pro subtitle stream? Thanks for your help!

  • How do I have two windows open side by side in Mountain Lion

    I want to open two windows side by side for comparison purposes.  Can anyone tell me how to do this please?  BUT when I input something into one window, I don't want the other window to close.  I know this can be done on my Windows laptop but I'm now

  • Error setting property in bean of type null

    Hi i have jsf page and input text a managed bean with property sum of type float i attached this property to the input text: <h:inputText id="adr" value="#{userBean.sum}"/> but when enter a value and submit the page it prints me error in the page: Er

  • D: Dynamic date calculation

    Hello, In BEx, when creating a variant, is it possible to use "Selection variable = D: Dynamic date calculation"? I have created a variable for 0calmonth and in the Variant Attributes screen, Selection variable field, the only option is T: Table Vari