Attachment File non-English Name DISAPPEARS problem in BizTalk 2010 SMTP Adapter

Hello ,
I'm using BizTalk 2010 SMTP Adapter for sending mail with attachments by setting them via property SMTP.Attachments
//Attachment
msgEmail(SMTP.Attachments)= AttachmentList;
I have files in several languages (In English and in Russian partialy) for the example
My attachment list looks like this:
"C:\Temp\Files\EnglishNameFile.xml | C:\Temp\Files\RussianFileName_РусскоеИмя.xml";
After the sending Mail with this attachments the second file (it's name partialy in Russian) received without this part name
(The non-english part of name is DISAPPEARS)
like this: 
RussianFileName_.xml ( must be RussianFileName_РусскоеИмя.xml)
The NON-English part is DISAPPEARS!!!
And if i have file that doesn't have latin latters (non-english) at all  than BizTalk SMTP Adapter change name
to default one like ATT41233.xml
I found this behaviour occur in other non-english languages also!!!
Unfortunately i'm not found any info about this
Any help would be very
much appreciated
Vadim

Refer to this link -
http://social.msdn.microsoft.com/Forums/en-US/163a47cf-db31-49a5-9ee3-ce9272ba24ff/setting-contenttransferencoding-in-dynamic-smtp-port?forum=biztalkgeneral
There is an option of the Multipart message that controls the filename and the charset used to control how the attachment is treated, including content-transfer encoding.
Regards.

Similar Messages

  • Error writing file name which contain both English and non-English name

    Hello
    I have this simple vbscript code which suppose to write all file names in some directory to a text file
    Dim FSO
    Dim FileDirectory
    FileDirectory = "C:\temp"
    Dim FileList
    FileList = "list.txt"
    Dim Fname
    Set FSO = CreateObject("Scripting.FileSystemObject")
    set FileDirectory = FSO.GetFolder(FileDirectory)
    Set objFile = FSO.CreateTextFile(FileDirectory & "\" & FileList ,True)
    for each file in FileDirectory.files
    Fname = file.name
    objFile.Write( ChrW(34) & Fname & ChrW(34) & vbCrLf)
    objFile.Write( ChrW(34) & FileDirectory & "\" & Fname & ChrW(34) & vbCrLf)
    Next
    objFile.Close
    Everything goes fine while file names are in English but when some file name is non English or both  English with non English name (right to left languages) an error raised, so how to deal with this writing issue without changing the file name
    thanks in advance

    Thanks
    jrv for replying
    I tested you code but it didn't worked for me (works fine for English file names but doesn't work with right to left language )

  • Juno and Yahoo Webmail: Firefox makes the attach file button in webmail disappear and other web browsers don't

    Using Juno and Yahoo webmail (only on this computer, not my others) the attach file button loads but then disappears when creating a new email or replying. All other web browsers allow me to attach files using these two webmail sites. This does not affect other sites like school applications to upload files for class in Firefox.

    As mentioned in the original post, the user IS the owner and the permissions are WIDE open for the user. I have also tried to disable the anti-virus - no luck. The problem is ONLY happening in Firefox. Chrome and IE work perfect. There is also no problem in Windows. The user can add/remove/edit files in the directory. Right now the solution seems to be to use Chrome. I'm not excited about that, but at this point, the only option.

  • Opening of tables with non english names in Smart View

    Hi All,
    I can't open tables with russian names with Smart View. English named tables works fine, and Russian names opens in wrong encoding as a name of Excel worksheets like this - #1087;оис. So no table opens. What's wrong and how to fix it?
    Thanks in advance,
    Mary

    Smart View Version is 11.1.2.5.000 (Build 111)
    Enterprise Performance Management Architect - 11.1.2.3.000.1954
    Financial Management - 11.1.2.3.100.4261

  • Non-english characters input problem on remote device

    Hello.
    I have ZCM 11 SP1. In remote management I can input on remote device only English characters.
    When I change keyboard layuot to Russian - no input at all. But I need Russian keyboard working. Help, please.
    Management device is Windows XP SP3 box, admin device - Windows 7 SP1 and Windows XP SP3 boxes

    9113060,
    > I have ZCM 11 SP1. In remote management I can input on remote device
    > only English characters.
    > When I change keyboard layuot to Russian - no input at all. But I need
    > Russian keyboard working. Help, please.
    >
    > Management device is Windows XP SP3 box, admin device - Windows 7 SP1
    > and Windows XP SP3 boxes
    Need more info here. I just tested it on Swedish and it works just fine,
    but when you say "When I change keyboard layuot to Russian" does that
    mean that the default on your machine or the target machine is not
    Russian?
    - Anders Gustafsson (NKP)
    The Aaland Islands (N60 E20)
    Novell has a new enhancement request system,
    or what is now known as the requirement portal.
    If customers would like to give input in the upcoming
    releases of Novell products then they should go to
    http://www.novell.com/rms

  • Dwm and non-english keyboard layouts problem

    Hi all,
    I am using dwm 5.5. I'm Greek so I change between keyboard layouts all the time,
    see the relevant xorg.conf section:
    Section "InputDevice"
    Identifier "Generic Keyboard"
    Driver "kbd"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us,gr"
    Option "XkbVariant" ","
    Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
    EndSection
    Now the thing is that whenever I switch to Greek (by pressing Alt+Shift) the
    dwm tags (1,2,...,9) are not clickable (keyboard shortcuts do work
    though, so it's not a very big problem).
    Do you have any ideas about how to fix that behavior? I'd go to the dwm irc
    channel and ask them, but I'll be a "newbie asking stupid questions" so I
    preferred to ask here
    Thanks in advance
    Last edited by geo909 (2010-01-08 17:23:29)

    thayer wrote:Your best bet would be to post your problem to the dwm mailing list:
    [email protected]
    Will do...
    Thanks!

  • Problem with BizTalk 2010 Party Migration Tool

    Hello All,
    We are upgrading BT2006 R2 to BT2010. We are trying to use the Party Migration Tool to move our EDI partners, but are encountering the following error while we are trying to Initialize the Migration Tool:
    The database or the database version is incompatible with the installed version of this product. For more details please see the event log
    The Event Log shows the following:
    Error Source: BizTalk Server Party Migration Tool Details:Microsoft.BizTalk.ExplorerOM.BtsException: The database or the database version is incompatible with the installed version of this product. at Microsoft.BizTalk.ExplorerOM.BtsCatalogExplorer.set_ConnectionString(String
    value) at Microsoft.BizTalk.Migration.PartnerManagement.UI.UpgradeHelperController.InitializeAndAutoMigrate(Nullable`1 doNotMergeIds, Nullable`1 createDefaultAS2Agreement, String sourceServer, String sourceDatabase, String migrationServer, String migrationDatabase,
    Boolean overwriteMigrationDb) at Microsoft.BizTalk.Migration.PartnerManagement.UI.UpgradeHelperController.initializeWorker_DoWork(Object sender, DoWorkEventArgs workerEventArgs) at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object
    argument)
    Has anyone encountered this error yet? Any help would be much appreciated!
    Thanks!

    I think this is the assembly issue. I had reported it during the beta. It looks like I did actually try it on BizTalk 2006 R2. Here is the link (it should be public now):
    https://connect.microsoft.com/BizTalk/feedback/details/559323/partymigrationtool-fails-to-run-on-biztalk-2006-r2-box
    The config is here:
    <configuration>
       <runtime>
          <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
             <dependentAssembly>
                <assemblyIdentity name="Microsoft.BizTalk.Migration.PartnerManagement"  culture="neutral" publicKeyToken="31bf3856ad364e35"/>
                <codeBase version="3.0.1.0" href="..\MSI\Program Files\Microsoft.BizTalk.Migration.PartnerManagement.dll"/>
             </dependentAssembly>
       <dependentAssembly>
                <assemblyIdentity name="Microsoft.BizTalk.Edi.PartnerAgreementManager"  culture="neutral" publicKeyToken="31bf3856ad364e35"/>
                <codeBase version="3.0.2.0" href="..\MSI\Program Files\Microsoft.BizTalk.Edi.PartnerAgreementManager.dll"/>
             </dependentAssembly>
     </assemblyBinding>
       </runtime>
    </configuration>
    So you need to modify the path to match what you have - absolute paths are ok. Then try loading the tool again. I was able to get it to work this way during the beta.
    Thanks,
    If this answers your question, please use the "Answer" button to say so | Ben Cline

  • Spool non english character names to a file

    Hi There,
    We have a table which has around a million rows. We just need to select two columns(out of which one is a name field with english and non english names) and spool the data to a file. The problem is that through sqldeveloper, if I choose csv or dsv option, the non english names, like chines charaters etc show up as question marks. Is there a better way or format to do this. I tries xls. But although it goes through successfully, when I open the excel file, it has nothing. I was able to do it for around 200000 rows in excel.
    Any suggesstions?
    Thanks,
    Sun
    Edited by: ryansun on Jun 23, 2012 4:24 AM

    ryansun wrote:
    Hi There,
    We have a table which has around a million rows. We just need to select two columns(out of which one is a name field with english and non english names) and spool the data to a file. The problem is that through sqldeveloper, if I choose csv or dsv option, the non english names, like chines charaters etc show up as question marks. Is there a better way or format to do this. I tries xls. But although it goes through successfully, when I open the excel file, it has nothing. I was able to do it for around 200000 rows in excel.
    Any suggesstions?
    Thanks,
    Sun
    Edited by: ryansun on Jun 23, 2012 4:24 AMwhen dealing with non-ASCII characters, two different issues can exist,
    1) data storage - incorrect byte value is stored
    2) data presentation - incorrect character is displayed.
    Can the utility utilized to view the *CSV file actually display the non-ASCII value properly?
    can you inspect the *CSV file using an hexadecimal editor? what do you see inside the file?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Mail attachment file name changes

    when i send mail with attached file having english file name, mail receiver can receive it as correct file name.
    But if having korean file name(ex: 우리나라.doc), recipient receives it as different file name(ie 우리나라.라.doc).
    how can i solve this problem?

    Is the reciever using windows? If so you can choose Edit > Attachments > Always Send Windows Friendly Attachments.

  • Problem with Vcard and non-English character

    VCard feature is what I would like to use, but I have quite a few contacts with Non-English name (Korean).
    I know Ipod can display in Korean, but when I create a v-card with Korean character and copy the vcard file over into /contacts folder, I can see the filename as the person's name (From windows explorer), but I can ONLY see first character of the file when I display contacts in iPod.
    Does anyone have tips/tricks on displaying all the filename in IPod contacts?
    Thanks.
      Windows XP Pro  

    Because i use the string nota into a jsp page and i print the string nota into a textarea and the text is with no newline, example:
    <textarea name="nota" rows="4" cols="60"><%= nota %></textarea>
    the text into textarea is:
    first linesecond linethird line
    but i want that the text displayed into textarea is equal the text into the CDATA section:
    first line
    second line
    third line

  • Alignment problem in sending an attachment file as a mail

    Hi,
      My requirement is to send a mail where i have the data in an internal table.
    the .txt attachment file is sent properly no problem in that. But the text inside the file is not alligned properly.
    For eg if i have 5 records in the internal table which iam going to send as an attachment then 5 lines should exist on the attachment file.
    But for me what happens is
    for eg the first two records in the internal table is like as follows.
    record 1 : my name is rose
    record 2 : iam working in SAP ABAP consultant.
    These lines are coming in the attachment file like
    line 1: ame is rose  (some spaces are given then it prints) my  n
    line 2: n SAP ABAP consultant (some spaces are given then it prints) iam working i
    can anyone tell me why this happens . i want the lines to be  displayed as  it is in the internal table.
    can anyone tell how to solve this problem. Thanks...
    Regards,
    rose.

    Hi camila,
    visit this thread
    Alignment in mail body
    regards
    Anup.

  • Connecting to Wireless AP with non-english SSID name

    Hi everyone
    I have a wireless AP with a non-english name ( The name is "IsolÈ coffee"), when I do scan for wireless network in Mac OS X it will not show this network and even if I use iStumbler it will show it but it will not able to connect to it
    if I use any Windows PC/Linux it can connect to the wireless AP with no issue
    is it possible in anyway to connect to this wireless AP (and NO I can't change the SSID name because I don't own it, it's a public AP)
    Thanks

    This post is a little old, i don't know if it's proper to add a reply. I just got the same problem here, and hope someone would work on it. The ssid is some chinese characters, and i don't have authority to change it. Same as what AhmadT mentionded, airport couldn't find anything, even if the ssid is typed in manually, it doesn't work.
    The only workaround i could find is to use the other wifi card (USB ones), and have it driven in WindowsXp which is running in VMWARE Fusion. so that i could access the wifi-router and internet in the vm-machine.

  • Apache-zip.jar name attachment file bad encoding

    I have following code. which create zip archive, but name attachment files bad encoding.
    name attachment files in encoding UTF-8. letters of Russian alphabet -"&#1080;&#1084;&#1103;.txt". get - "¯à¨ï⨥  à鸞.txt" OS - Ubuntu 9.10 64-b
    package action;
    import org.apache.tools.zip.ZipEntry;
    import org.apache.tools.zip.ZipOutputStream;
    import java.io.*;
    import java.util.Arrays;
    import java.util.List;
    public class CreateArchive {
        private byte[] getByteFromFile(String file) throws IOException {
            InputStream is = new FileInputStream(file);
            long length = file.length();
            if (length > Integer.MAX_VALUE) {
                throw new IOException("Size file bad: "+file);
            byte[] bytes = new byte[(int)length];
            int offset = 0;
            int numRead;
            while (offset < bytes.length && (numRead=is.read(bytes, offset, bytes.length-offset)) >= 0) {
                offset += numRead;
            if (offset < bytes.length) {
                throw new IOException("Could not completely read file "+file);
            is.close();
            return bytes;
        public void createZip(OutputStream outputStream, List<String> files) {
            byte[] buf = new byte[1024];
            try {
                ZipOutputStream out = new ZipOutputStream(outputStream);
                out.setEncoding("UTF-8");
                for (String fileName: files) {
                    ByteArrayInputStream sourceStream = new ByteArrayInputStream(getByteFromFile(fileName));
                    out.putNextEntry(new ZipEntry(fileName));
                    int len;
                    while ((len = sourceStream.read(buf)) != -1) {
                        out.write(buf, 0, len);
                    out.closeEntry();
                out.close();
            } catch (IOException e) {
                System.out.print(e);
        public static void main(String[] args) throws IOException {
            CreateArchive files = new CreateArchive();
            OutputStream outputStream = new FileOutputStream("file.zip");
            files.createZip(outputStream, Arrays.asList("&#1080;&#1084;&#1103;.txt"));
            outputStream.close();
    }Sorry for me bad english
    Edited by: P1tBull on Mar 24, 2010 5:35 AM

    Real task was create general archive is selected users files and transmission he in one stream
    package action;
    import org.apache.tools.zip.ZipEntry;
    import javax.servlet.RequestDispatcher;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import java.io.*;
    import java.util.Arrays;
    import java.util.List;
    import java.util.zip.ZipOutputStream;
    public class StreamFiles extends HttpServlet {
        protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
            doGet(request, response);
        protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
            OutputStream out = response.getOutputStream();
            try {
                response.setContentType("'application/zip'; charset='UTF-8'");
                response.setContentType("name=AllFile");
                response.setHeader("Content-disposition", "attachment; filename*=utf-8" + "''" + java.net.URLEncoder.encode("AllFile.zip", "UTF-8") + ";");
                if (request.getHeader("user-agent") != null) {
                    if (request.getHeader("user-agent").indexOf("Safari") != -1) {
                        response.setHeader("Content-Disposition", "attachment");
                        response.setContentType("application/octet-stream");
                    } else if (request.getHeader("user-agent").indexOf("MSIE") != -1 || request.getHeader("user-agent").indexOf("Chrome") != -1) {
                        response.setHeader("Content-disposition", "attachment; filename=" + java.net.URLEncoder.encode("AllFile.zip", "UTF-8"));
                List<String> files = Arrays.asList("catalina.bat", "startup.sh", "version.sh", "tomcat-juli.jar");
                createZip(out, files);
            } catch (Exception ex) {
                request.setAttribute("javax.servlet.jsp.jspException", ex);
                RequestDispatcher requestDispatcher = request.getRequestDispatcher("/error.jsp");
                requestDispatcher.forward(request, response);
            } finally {
                out.flush();
                out.close();
        private byte[] getByteFromFile(String file) throws IOException {
            InputStream is = new FileInputStream(file);
            long length = file.length();
            if (length > Integer.MAX_VALUE) {
            byte[] bytes = new byte[(int)length];
            int offset = 0;
            int numRead;
            while (offset < bytes.length && (numRead=is.read(bytes, offset, bytes.length-offset)) >= 0) {
                offset += numRead;
            if (offset < bytes.length) {
                throw new IOException("Could not completely read file "+file);
            is.close();
            return bytes;
        public void createZip(OutputStream outputStream, List<String> files) {
            byte[] buf = new byte[1024];
            try {
                ZipOutputStream out = new ZipOutputStream(outputStream);
                for (String fileName: files) {
                    ByteArrayInputStream sourceStream = new ByteArrayInputStream(getByteFromFile(fileName));
                    out.putNextEntry(new ZipEntry(fileName));
                    int len;
                    while ((len = sourceStream.read(buf)) != -1) {
                        out.write(buf, 0, len);
                    out.closeEntry();
                out.close();
            } catch (IOException e) {
                System.out.print(e);
    }but mistake on real host don't repeated, so thanks for answer
    Edited by: P1tBull on Mar 24, 2010 8:14 AM

  • Attach File Problem

    My 8310 Curve has a 2GB Media Card in it. Up until about 4 days ago everything was fine and had been for 1-1/2 years. My new problem is that when I attach an Excel file from my media card to a pre-written memo and try to forward it as an e-mail, ultimately I will just get a Red "X" indicating that the e-mail failed to be sent. Prior to a few days ago the e-mail would be sent with no problem. I have not made any changes to anything which could have caused this. I always try to solve my own problems and so I went to the "Options" icon in the "applications". Then I went to "Status", clicked the "menu" and clicked "Database Sizes" - under "Attachment Data" it says "1/0.9K". Since I now cannot send or receive any of these Excel files (when I try to receive one it now only accepts "3%" of the attached file) I believe that the problem may be the allowed size of the attachment. Can anyone offer a suggestion?
    Thanks,
    needhelpfast

    Greetings, and welcome to the BlackBerry.com Support Forums.
    With the BlackBerry device powered ON, remove the battery a few seconds and then reinsert the battery to reboot.
    Try it again, and please report back.
    If that does help,  do the following:
    1. Resend your service books from your carrier BIS site.
    http://www.blackberryfaq.com/index.php/Where_can_I_log_into_my_BIS_account%3F
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to read the contents of attached files

    Hi,
    I am designing a Form using LiveCycle Designer 8.0
    Scenario:
    User can attach the file through "Attachments" facility provided on Adobe  Reader.
    The requirement is to attach 3 documents and post it to SAP system using Web services.
    I am using the following code(which i got from this forum only) to find the number of files user has attached.
    d = event.target.dataObjects;
    n =  d.length;
    xfa.host.messageBox("Number  of Attachments: "+n);
    //Displaying  the names of the Attached files
    for( i =  0; i < n; i++ )
    xfa.host.messageBox("Name  of the file: "+d[i].name);
    My problem: is how to read the contents of the attached files so that I post it to SAP using Web services
    Thanks in advance!!
    Taha Ahmed

    In order to read the content of the Redo Log files, you should use Logminer Utility
    Please refer to the documentation for more information:
    [Using LogMiner to Analyze Redo Log Files|http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/logminer.htm#SUTIL019]
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

Maybe you are looking for

  • Metric Paper Size Defaults

    I have two OfficeJet Pro 8500's and an OfficeJet 7000 that I purchased in the UK (two of them are less than 6 months old. I am frustrated that I cannot get the printers to default to metric paper sizes. I can create metric shortcuts, but I cannot rem

  • Overnight, my Auto Fill button has disappeared, & I'd like it back!

    Left computer running overnight. This morning, several buttons are missing, including Auto Fill. (Can't remember what the others were; apparently don't use them much!). Can anyone help me get Auto Fill back?

  • Show InDesign preview as spread in Bridge

    We recently upgraded to CS5. In CS3, Bridge showed the start spread for InDesign documents as previews, but in CS5 only the first page of a document shows up. For editorial work it is much better to see both pages. Is there any way to get Bridge to s

  • Custom view

    Hello, colleagues (OrgChart 3.0 SP2) I have a need to customize View elements. My need can't be afford by Administration Console. First of all I need to connect my own data element with custom View. Then I need to customize data, displayed in View: i

  • HT5699 how i can open my accuent again

    you clots my account ..? please can you open it again..?