Help: Setting the multipart/related start parameter

I am wanting to set the "start" parameter on my ContentType header for
a multipart related message. Something like below.
DATA
ContentType: multipart/related; boundary=_XXX; start="<somecid@domain>"
I can set the content type to "multipart/related" by calling
MimeMultipart.setSubType(), but I cannot figure out how to set the
"start" parameter.
Anyone know.
Thanks,
Chris

Does the SMTP server accept the mail for delivery of does it reject it?
If it doesn't reject it, is the issue with the format of the mime message, or possibly with whatever mail reader you are using.
It the SMTP server does reject the message I suppose the next question is what exactly is the "SMTP" server you are using?
IMHO you should not need to add anything to the mime multipart headers if using any RFC compliant SMTP server or reader. No-where in RFCs 2045,2046,2049,2822 etc can I find anything that relates to this "start" parameter.
If the SMTP server is a "proper" SMTP server it should not give two hoots about the mime multipart/mime body parts of the message as it "should" only be interested in the headers required to deliver the email. The mime multi/body part headers are generally not used to deliver. They are used by a Mime compliant mail reader to format and display the message.
We use Javamail to send regular "Newsletters" via a numbers of SMTP mail serviers running on IBM AS/400s, Sendmail on Unix, Lotus Notes servers and and others and have no problems.
If you want to send me your code to run on our systems to see if it really is your SMTP server or your message format that is giving trouble I can probably help. I can't open up a server for you as we have rather strict policies on who can do what with our servers. You can of course use our normal SMTP server to send a test email to me!!
Rgds,
SH

Similar Messages

  • I already set the Main-Class:class parameter but still error... Help pls...

    I have an experimental project that starts with a main class called "mainConsole"
    I packed it using the NetBeans IDE 3.3.2 jar packager and also set the Main-Class: mainConsole parameter
    I still receive the error below when trying to execute the jar file.
    java.lang.NoClassDefFoundError: mainConsole
    Exception in thread "main"
    Can someone help me?
    Thanks in advance.

    Help me pleeeease!!

  • Set the Printer to start Scanning

    I get a message "Set the PC to start scanning". How do I do that? I have an ASUS laptop with Windows 10 and I have reloaded the printers driver...still not scanning.Mike

    Hi rcmike63! Welcome to the Canon Community and thank you for your post!
    So that the Community can help you better, we will need to know exactly what Canon equipment you're using, as well as the way you connect to your device (USB or networked via WiFi or Ethernet).
    Any other details you'd like to give will only help the Community better understand your issue!
    If this is an urgent support need, please CLICK HERE to reach our friendly Technical Support Team by phone or email.
    Thanks and have a great day!

  • ¿How do I set the calendar to start week on Monday and not Sunday in my iphone?

    ¿How do I set the calendar to start week on Monday and not Sunday in my iphone?

    The jewish calendar does not have names for the days of the week. The week ends with the holy Sabbath (Saturday) and therefore the Sunday is the first days after Sabbath (Yom Rishon), the Monday the second day after Sabbath (Yom Sheini), etc.
    The Christians believe that Christ was raised on the first days of the week (Mathew 28:1, et al) AFTER the Sabbath was over. So their holy day is the Sunday and the working week starts on a Monday.
    The business days in the western world are numbered starting with the Monday as day number 1 (Timetables of Airlines, Calendars, even Microsoft Windows...).
    Unfortunately in the United States religious freedom extends to a level which is not understood easily by the rest of the world. Since the MAC OS X allows to change the first day from a Sunday to a Monday, one might wonder why Apple decided to give the iPhone a jewish touch.
    It could be supposed that this is the way of the least resistance. Only few complain about this issue, but if it were the other way around a lot of people would complain...
    PS: I agree with the others here: It is very, very annoying and more than once I entered an appointment into the wrong day...;-)

  • MX922 scanner problem message: set the pc to start scanning

    I am trying to scan using my MX922 printer.  I am getting a message: "set the pc to start scanning." Can't find what this means.

    I ran into this... Suddenly the scan function from the Canon didn't work, I just got "Set the pc to start scanning."  WT??? Why work all this time and suddenly not?  Under scan>save/forward>select pc, only "local (usb)" appeared. No pc.  Yet the wireless connectivity was there (I checked, under WLAN set up).  Plus, I could print wirelessly, and could scan wirelessly if I initiated the scan from the computer via Canon utilities.  So it suddenly no longer could find the pc to scan from the unit, even though clearly the wireless connection was there.  Turned it on and off several times as suggested by another post.  Finally I went to Canon Utilities,> IJ Network Scanner Selector EX > Scan from Operation Panel Settings (button was already selected) > MX920 series already had box checked, so just said ok.  i.e. I didn't change a thing, but somehow that got it to work again, and I can now go back to scanning via the unit itself, specifically Scan button > Start on the MX922, instead of having to initiate the scan from the computer.  Hope this makes sense!

  • Help: set the list item when scrollbar scrolls

    i need help regording how to set the listbox list item to be selected (i.e. item to be highlighted) when the vertical scrollbar scrolls.

    Hi Shreyas,
    You can insert the code below into the NewForm.aspx page of the list via a Script Editor web part:
    <script type="text/javascript">
    _spBodyOnLoadFunctionNames.push("ready");
    function ready()
    //12/04/2015 - 18/04/2015
    var sd = "";
    var ed = "";
    var d = new Date();
    //get start date of the week
    d.setDate(d.getDate() - d.getDay());
    sd = convertDate(d);
    //get end date of the week
    d.setDate(d.getDate() + (6 - d.getDay()));
    ed = convertDate(d);
    //populate the string into the Title field
    var title = document.querySelector("input[title='Title']");
    title.value = sd+" - "+ed;
    function convertDate(inputFormat) {
    function pad(s) { return (s < 10) ? '0' + s : s; }
    var d = new Date(inputFormat);
    return [pad(d.getDate()), pad(d.getMonth()+1), d.getFullYear()].join('/');
    </script>
    It will populate the “Title” field with the text like “12/04/2015 - 18/04/2015” based on current date when adding a new item in this list in the NewForm.aspx page:
    Here are two links about how to add code into page via Content Editor Web Part:
    http://blogs.msdn.com/b/sharepointdev/archive/2011/04/14/using-the-javascript-object-model-in-a-content-editor-web-part.aspx
    http://sharepointadam.com/2010/08/31/insert-javascript-into-a-content-editor-web-part-cewp/
    Thanks 
    Patrick Liang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Setting the value of a parameter

    Hi Experts
                         I want to call transaction ME55 through a Z program and stop at the selection screen with values of ZPROGRAM. There is one parameter which does not have a parameter id. Is there any way to set it.
    Also we cannot do submit because there is code in ME55 based on sy-tcode. So while we do submit then the TCODE is of our ZPROGRAM and hence ME55 shows different output. Can we deal with this?
    Also if we write BDC then the ME55 is behaving unexpectedly ie we wrote a BDC till the first screen of ME55 and then we excute it and try to release it , it releases the PR but instead of stopping at that screen which it would have done if we run ME55, it is coming back to our ZPROGRAM.
    Please help to solve the problem ie set the value of the parameter.

    Which parameter are you trying to set?

  • How to set the password with start-domain instruction in AS 8

    Hello,
    I am trying to add an instruction in /etc/init.d to start a domain automatically every time the server reboots but I have not found a way to set the master password of this domain. I know there is a --passwordfile option but it only has the choice of setting the adminpassword AS_ADMIN_PASSWORD.
    asadmin start-domain --passwordfile /var/SUNWapp/password.txt application
    cat /var/SUNWapp/password.txt
    AS_ADMIN_PASSWORD=xxx // It does not work to start the domain. I need to set the master password
    Is there any way to start the domain automatically??? how can I set the password without prompt?
    Thank you,
    Regards

    You can also have AS_ADMIN_MASTERPASSWORD in the password file.
    "asadmin start-domain" will not prompt for the masterpassword.

  • Need help setting the exact size of my JSlider

    Hello everyone. I'm trying to build a small program to help people learn a about RGB colour values, and at the same time teach myself a bit more about Java. Things have been going fine so far until I came to setting my JSlider's size. The intention is to have three JSliders with a JPanel next to each. The I need the track of the slider to be exactly 256 pixels tall (one pixel per gradient value painted into the adjacent JPanel) plus whatever extra padding and spacing the Look And Feel dictates.
    I've got the height set to 256 pixels in the following code, but it makes the JSlider as a whole 256 pixels tall and so squishes the track. I've set the minor tick spacing to 2 so that if the track was actually 256 pixels tall, the ticks would alternate over each screen pixel. If you compile and run the code, you will notice that a few ticks appear next to each other without a one-pixel gap between them. I've also verified it by taking a screen capture, pasting it into the GIMP and then using the measure tool to check the size.
    I've tried searching through the API documentation to find ways of doing it, or to see if some ideas I've had so far were possible, but so far, I've not found anything particulairly satisfactory. I even tried to see if I could set the JSlider size to current JSlider size minus the track size, plus 256, but I couldn't find a way of getting the current size of the track.
    Can anyone help me out here? I'm rather stuck.

    Here's the code with all but the JSliders stripped out. Sorry about having to put it in a seperate post; the forum wouldn't allow it.
    Here's the code I have so far:
    package com.stephenphilbin.colourcoder;
    import java.awt.Color;
    import java.awt.Dimension;
    import javax.swing.GroupLayout;
    import javax.swing.GroupLayout.Alignment;
    import javax.swing.GroupLayout.ParallelGroup;
    import javax.swing.GroupLayout.SequentialGroup;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JSlider;
    import javax.swing.UIManager;
    import javax.swing.border.LineBorder;
    import javax.swing.border.TitledBorder;
    public class Colourcoder extends JFrame {
        private void initComponents() {
            String colourcoderTitle = "Colourcoder";
            String lightsPanelBorderText = "Lights";
            // Create the lights panel, set the borders and set up layout references
            JPanel lightsPanel = new JPanel();
            TitledBorder lightsPanelBorder = new TitledBorder(LineBorder.createGrayLineBorder(), lightsPanelBorderText);
            lightsPanel.setBorder(lightsPanelBorder);
            GroupLayout lightsPanelLayout = new GroupLayout(lightsPanel);
            lightsPanel.setLayout(lightsPanelLayout);
            // Initialize each light slider
            JSlider[] lightSliders = new JSlider[3];
            for (int i = 0; i < lightSliders.length; i++) {
                lightSliders[i] = new JSlider(JSlider.VERTICAL, 0, 255, 0);
                lightSliders.setPaintTrack(false);
    lightSliders[i].setMajorTickSpacing(16);
    lightSliders[i].setMinorTickSpacing(2);
    lightSliders[i].setPaintTicks(true);
    lightSliders[i].setSnapToTicks(true);
    // Loop through the light sliders and add them to the lights panel
    SequentialGroup horizontalLightGroup = lightsPanelLayout.createSequentialGroup();
    for (int i = 0; i < lightSliders.length; i++) {
    horizontalLightGroup.addGroup(lightsPanelLayout.createParallelGroup().addComponent(lightSliders[i]));
    SequentialGroup verticalLightGroup = lightsPanelLayout.createSequentialGroup();
    ParallelGroup parallelLightsGroup = lightsPanelLayout.createParallelGroup();
    verticalLightGroup.addGroup(parallelLightsGroup);
    for(int i = 0; i < lightSliders.length; i++) {
    parallelLightsGroup.addComponent(lightSliders[i], 256, 256, 256);
    lightsPanelLayout.setHorizontalGroup(horizontalLightGroup);
    lightsPanelLayout.setVerticalGroup(verticalLightGroup);
    // Final window/frame configuration
    setTitle(colourcoderTitle);
    setResizable(false);
    setLocationRelativeTo(null);
    GroupLayout frameLayout = new GroupLayout(getContentPane());
    getContentPane().setLayout(frameLayout);
    frameLayout.setAutoCreateContainerGaps(true);
    frameLayout.setHorizontalGroup(
    frameLayout.createParallelGroup(Alignment.LEADING)
    .addGroup(
    frameLayout.createSequentialGroup()
    .addComponent(lightsPanel))
    frameLayout.setVerticalGroup(
    frameLayout.createParallelGroup(Alignment.LEADING)
    .addGroup(
    frameLayout.createSequentialGroup()
    .addComponent(lightsPanel))
    pack();
    public Colourcoder() {
    setDefaultCloseOperation(EXIT_ON_CLOSE);
    UIManager.put("swing.boldMetal", Boolean.FALSE);
    try {
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    } catch (Exception ex) {
    System.exit(1);
    initComponents();
    * @param args the command line arguments
    public static void main(String[] args) {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    new Colourcoder().setVisible(true);
    Edited by: S_Philbin on Sep 29, 2008 11:18 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Help setting the behavior of a button, possible using a variable

    Hi,
    This is my first time posting here and I'm sure I will be coming back, because I'm about to start a big project.
    The Problem:
    What I'm trying to do is get the user's input (text field = new_title), then having a button that will take that input and use it as part of a URL.
    The following will be the destination URL:
    http://www.mysite.com/wiki/index.php?title=new_title_from_text_field&action=edit&redlink=1
    The Background:
    I have installed Media Wiki in my website, but I want to have a more straight forward approach to creating new pages. So I'm creating an introductory page where the user can enter the title of the page he/she wants to create, click a button and go to the editing page from the Wiki, with their new title in place.
    Thanks, I appreciate any advice you can give me.
    Daniel

    Bregent and Michael,
    Thanks for your help, I used both of your answers and came up with the following.  I'm not sure if it's done in the "propper" way, but it accomplished what I needed.
    Please let me know what you think.
      <form action="http://www.mysite.com/wiki/index.php?title=" method="get" name="form1" target="_parent">
        <input type="text" name="title" id="title">
        <input name="action" type="hidden" id="action" value="edit">
        <input name="redlink" type="hidden" id="redlink" value="1">
        <input type="submit" name="new_page" id="new_page" value="Create">
      </form>
    Thanks,
    Daniel

  • MG6320 Scanner Stopped Working - "Set the PC to start scanning" WINDOWS 8.1

    I had this issue when I was on Windows 7, and resolved it by doing what Ramona suggested:
    "The Canon IJ Network Scanner Selector EX will need to be running on your computer to scan using the operation panel of the printer.  To launch the program, from the Start Menu on your computer, select All Programs, then Canon Utilities, then IJ Network Scanner Selector EX (folder), then IJ Network Scanner Selector EX (program).  Once launched, the program will be displayed in the notification area of the taskbar. "
    Now I have a new computer with Windows 8.1, and can't find "All Programs, then Canon Utilities, etc."
    Can someone please help?  I asked this question at the end of my other post, and it's had 39 views, but no responses.
    Thanks to anyone who can help.
    Solved!
    Go to Solution.

    Hi GlassHalfFull,
    To launch the IJ Network Scanner Selector EX from Windows 8.1, from the Windows Start screen you can just start typing "IJ" to bring up the Search window, then in the drop-down section above the text field, select "Everywhere" and continue typing "Network Scanner Selector EX" until you see the program show up as an option to click on.  Once you click on "IJ Network Scanner Selector EX", it should launch the program.
    Another method you could use would be to go to the Windows Start screen, then near the bottom of the window below the tiles you should see a down arrow in a circle.  Please click on the arrow, then scroll over and look for the Canon Utilities section and click on the icon for the IJ Network Scanner Selector EX.  
    Hope this helps!
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • HT201263 HELP ON THE IPHONE NOT STARTING-UP

    Hi
    I reset my iphone yesterday and now the screen only shows the apple logo. Moreover, sometimes it show the red battery feature which i dont understand as i will be connecting the iphone to the computer and it all cant help me to charge the iphone. I have been given advice by others to swithch it off by simultanously pressing and holding down the sleep/wake button and the home button  but it all cant work to switch it off. Now, I want to use it, what do I do then. Only the logo is there now and forever, but sometimes, it dissapears and the red battery features come on the screen again. Should I desroy the iphone as i think its dead now. To sell it is nothing as i cant sell a dead iphone.
    Tafara

    Please try the following...
    First check that all your settings are correct, that calendar syncing is checked on all devices (system preferences > iCloud on a mac and settings > iCloud on a iPhone, iPad or iPod).
    Make sure the calendars you are using are in your 'iCloud' account and not an 'On My Mac', 'On My Phone' or other non iCloud account (you can do this by clicking/tapping the calendar button in the top left corner of the application ), non iCloud calendars will not sync.
    If you are sure that everything is set up correctly and your calendars are in the iCloud account, you might try unchecking calendar syncing in the iCloud settings, restarting your device and then re-enabling calendar syncing settings.
    This is answer is provided from my own database of boilerplate responses and the content was last reviewed and/or tested on: 2014/12/14

  • Hi, i'm new to java. need help setting the path in win XP

    hi all,
    i'm new to java technology. i've just downloaded the JDK and ran my first java program (hello world). i love it. java's gr8. i need help. i run win XP and how can i setup the path sothat i can execute my programs from the root dir??? any help in this direction will be greatly appreciated. please email me @ [email protected]
    Best regards
    Mrinal

    Go to Start menu and select Control Panel. In the Control Panel, double click on System. In the System dialogue, choose the Advanced tab. Then click on Environmental Variables. Select Path and Edit. Put ;c:\j2sdk1.4.0\bin at the end of the Path (or c:\j2sdk1.4.0\bin;) at the start of the Path. That's it.

  • Help setting the movement to pixel by pixel

    Good day fellow designers. I'm having a "not so good" situation. I hope you can help me guys. It's all about moving an selected object pixel by pixel.
    I have this object selected on photoshop. And I want to move it pixel by pixel. So what I did is I selected it then press the arrow keys. In photoshop,
    usually, this will make the object move pixel by pixel. But in my illustrator however, it's kinda different. It moves at least 3 pixel by 3 pixel. It's not
    accurate. I already tried playing with illustrator's preferences but still no good. I know it's just around there somewhere.
    Maybe someone can help me with this? Thanks and have a good day ahead! Cheers!

    Hmm, I already got that tweaked... But it still skips a few pixels when I move it. A solution that I currently have right now is move it via mouse. It gets
    the job done but the movement via arrow keys helps a lot specially when my workspace is starting to get laggy.
    EDIT :
    I already got it figure out. And yup, it's the keyboard increment. I got used to 1px that I've forgotten that I can also input much lower than 1px. I tried
    0.25px and it worked! : )
    Thanks mate. Cheers! : )

  • Help with the HOST and START, forms 6i

    Hi i like open to image with de Host and Start in Forms 6i.
    For example Host('start '||:path||'', NO_SCREEN ); -> is correct if the path is c:\ ... but if the path is more longer with space in white for example C:\Documents and settings ... i put the quotes "C:\Documents and settings ..." but Doesn't open the image, another window (MSDOS) open... :S

    Hello,
    Try this:
    Host('cmd /c START "" "' || :path || '" ');Francois

Maybe you are looking for

  • How to find and replace the text present in the url

    I have a column of type NCLOB with some text having url's in between as shown below: ======================================================================== This text is for testign purpose.This text is for testign purpose. <A PL/SQL <U PL/SQL </U>

  • Trouble w/ items button, request not being passed

    I'm having trouble w/ a button created as a region's item. I have a search box, and a P100_GO button. The GO button generates a GO request. I then have an branching that is conditional on Request=Expression 1 and in Expression 1 I put GO. but this re

  • How to I find photos on icloud

    I have an icloud account which when I try to update phone says if full. However if I log onto icloud.com it says I have 4.9GB left. I am trying to find old photos that have been uploaded to account that are no longer there and understand why I can no

  • Constant java error

    Hey all, So I installed Yosemite and when I logged in for the first time I entered my iCloud password and then screen with only continue and back visible and an error message saying "To view this web content, you need to install the Java Runtime Envi

  • JSplitPane problems : how to set the size of one component to be constant?

    I have a horizontal JSplitPane, the left side of which is occupied by a JTextArea and the right side by a JPanel, which will later contain a JList. my problem is: when resize I resize the window: 1. on expanding: the right side of the JSplitPane incr