Central location for MIMEs ???

I am using BSPs in CRM. There are many BSPs (about 100 to 150) that use the same .CSS(Cascading style sheet) file.
I have included this .CSS file in all 100 BSPs (in the MIMEs)
I want to know if I can store them at a centralized location and access them from this centralized location (so that I donot have to include them in each and every BSP application) ???????????
Regards,
Ashish Walke

Hi,
You can access MIME Objects from BSP Application to another or store it in the PUBLIC Directory...
For a detailed information on MIME Repository, refer to this <a href="http://help.sap.com/saphelp_nw04/helpdata/en/46/bb182fab4811d4968100a0c94260a5/frameset.htm">Help Topic</a>
Hope this helps...
<i>Do reward each useful answer..!</i>
Thanks,
Tatvagna.

Similar Messages

  • Networking iTunes and central location for music

    Starting to get really frustrated with something I think should be simple. We have multiple computers in our home and a Mac Mini server I'd like to use for a centralized location for ALL of our iTunes music. I've created a shared media library for all of the media I've downloaded to the server and can see it on all of the computers. HOWEVER, we just made our first iTunes purchase since setting this all up, only to discover we can't download music directly to the server - we have to download it to the individual computer, copy it to the server, then manually add it to the server's library. ***?
    There's got to be a better way to do this. Can't we have all of the computers in the house reading from the server, and when new music is added set it all to go to the same library on the server that updates automatically when new files are added? Anyone help?
    Thanks.

    Jolly Giant wrote:
    while you wait for your feature request(s) to be implemented, you might want to have a look @ this (rather old, to be sure) article.
    And make sure to read all the comments posted at the end of that article; there are a number of sad stories of users who didn't heed the restrictions and others who were confused by the typos and poor editing of the story (particularly the complication produced by the unnecessary use of DropBox in the procedure.)
    -Steve

  • Central location for ssh authorized public keys?

    Hi guys,
    I have been studying how to use ssh, but this has been bothering me and I will really appreciate any help.
    When you generate public keys for users, they go to the ~/.ssh/authorized_keys . If you as root, want to take control of all users public keys, say you want to have a central location for all public keys. You want sshd to read all keys from a different location rather than ~/.ssh/authorized_keys.
    How will you go about doing this?
    Thanks for your help this.
    Arrey

    You're welcome and enjoy your 'practice' ;-)
    however, I forgot to mention that if you modify the /etc/ssh/sshd_config file, you should restart the sshd daemon.
    $0.01: Restart the SSH daemon FROM ANOTHER SHELL to keep an active/running shell on the system, to recover, just in case.
    $0.02: I suggest a two-steps approach to be sure that the sshd daemon is correctly restarted and the new ssh session is not picking up a thread that hasn't properly re-read the configuration
    # svcadm disable ssh; sleep 5; svcadm enable ssh
    HTH,
    Marco

  • How to use a central "deposit" for mimes

    Hello there,
    I have created several web dynpro applications which use several *.gif files for the buttons. Today I always copy the used *.gif files to the mimes directory of each application/component.
    I rather would like to use one central "deposit" for these mimes.
    Just for testing I tried the following solution:
    1. I created a new local DC, application XXApp and component XXComp for storing the icons
    2. I created another local DC, application YYApp Component YYComp and added the following statements into Component YYComp:
    WDDeployableObjectPart appPart =     WDDeployableObject.getDeployableObjectPart(                    "xx.com/example",
                        "XXApp",                    WDDeployableObjectPartType.APPLICATION);
    wdContext.currentContextElement().setCancelIcon(WDURLGenerator.getWebResourceURL(appPart, "Cancel.gif"));
    I also created a View with a button and used the context CancelIcon to contain the URL to the Cancel.gif icon but I did not manage to get it working
    What am i doing wrong or is there another way to do this job.
    thanks
    Bertil Rebergen

    Hi ,
    You can create a alias for a folder inside the server and store all the related images inside that folder.
    Alias is created using http provider service in visual administrator.
    Regards
    Bharathwaj

  • Central location for IPhone apps

    Hi,
    My company has recently rolled out I Phones to all members of staff as our new business phones.
    My director has asked me to look into the possibility of having a central store for apps that can be shared amongst the staff. For example the technical staff use the telnet app from the store, does each member of staff need to buy it or is there a way that it can be bought once by the company and then be shared out to the members of staff?
    Hope I have managed to get my question across correctly!

    Yes, you have. However, that's not an option. There are three modes of app distribution:
    1) The iTunes App Store
    2) Ad-hoc distribution - for developers, limited to 100 copies
    3) Enterprise distribution - via a corporate server, for organizations with 500+ employees and only for internally developed apps
    For 3rd party apps already on the App Store, each user will need to buy the app from the app store (apps are DRM-protected and linked to the iTunes Store account used to download them).

  • Just need a central location for itunes music

    Have itunes10 running on a laptop, with two users on it. Let call them usera and userb. When userb imports a cd usera can't see it even though I've updated both users itunes media folder location to c:\users\public\music
    The same laptop is authorized and home sharing is on.
    Whats going on here?

    In iTunes, right-click on the song of interest, then click Show in Windows Explorer. This will open the relevant folder.
    tt2

  • Best practice to setup media server/central location for Itunes, Iphoto

    Hey guys,
    I currently have a Airport Extreme w/ two Western Digital My Books connected that have my Iphoto and Itunes Library.
    This is not ideal since copying things over the network is extremely slow and accessing the media(especially photo librarys) is super janky and leads to disconnects often.
    I am looking to revamp my setup. What do you guys recommend?

    Should I just get a Mac Mini and connect it to the Airport Extreme?

  • What's the best way to setup a media server/central storage for all of my?

    I was wondering what the best way to achieve a central media server for all my iTunes content + iPhoto's, calendar syncing and contact sharing is? This is what I currently have:
    iMac 20" Aluminum + External HD Backup (kids)
    Macbook Black (wife)
    Macbook Pro 15" (me)
    Airport Extreme 802.11n (obvious)
    TimeCapsule 1TB (wifi backup for wife/me)
    I would like to replace my PC in my office with a brand new Mac Pro Nehalem 8-Core, 8GB Ram, and 4TB, and replace my PC laptop in my living room attached to my tv, with an Apple TV.
    I want to centralize all our Photos from vacations, etc. Music, videos, movies, that are currently split up over wife's macbook, kids imac and my macbook pro onto my soon to be purchased Mac Pro.
    I want to be able to stream everything from my living room via Apple TV for when guests come over, dinner parties, etc. (plus I love apple and it keeps things clean)
    I'm currently using MobileMe to sync all of our Calendars and Contacts with my main account, which is great, but MobileMe doesn't sync to family members accounts =
    What would I need to do to centralize all this onto my future Mac Pro so that everyone has access all the time when they are home and the key here is, modify/update/change from their machines and sync it back/update it on the Mac Pro.
    Also, I'm hoping Snow Leopard has some changes to iTunes to make this a little more possible, since we're right around the corner from this release. I don't really want to spend an additional $900+ on Snow Leopard Server to have to achieve these results, but if it makes it easier, and does the job, then I guess I might. This is all speculation though, since it's not out yet. I'd like to get this all sorted and setup within the next month.
    I was considering a Drobo, they say they can throw up iTunes Server but, I appreciate everyone for reading this, and taking the time to respond!
    Thanks!
    Message was edited

    I'm in the process of setting up a smaller (and cheaper) but somewhat similar setup to what you want to do, so maybe one example might help point you in the right direction. My needs consist of a centralized location for data storage, which will include iPhoto libraries (I keep two separate ones), iTunes (which I also want served to the home theater system), something other than my laptop to play internet videos and downloaded content on my TV, all with ideally the lowest cost and energy use possible.
    My solution was the new Mini with a FW800 external drive as the server/media hub and Airport gigabit as the network hub (it also handles the backup drive).
    FW800 is fast enough to saturate a gigabit ethernet link, so I don't consider that much of a bottleneck. The Mini then has iTunes running at all times with its centralized library on it; it is hooked to the home theater via HDMI-DVI video and optical audio, so it can play music and also handle videos when desired; Front Row with the Apple remote is close enough to an AppleTV that I think it handles that well, and it's more full-featured than an AppleTV. It can further be used to display photos/slideshows/whatever on the TV for guests or such, or to surf from the couch with a wireless mouse/keyboard. You can also toss in an EyeTV for $150 and use that as a DVR if you feel like it.
    When I want to edit photos or such on my desktop, the gigabit link is fast enough that I can run iPhoto without noticing any significant slowdown. Its also usable over wireless, though I have a dangling extra network cable to plug into a laptop for full gigabit speed if need be. iTunes, of course, shares its library, which can be played from any of the computers in the house if so desired (iPhoto can do that too if you just want to display).
    If I REALLY wanted top speed (though I've even done video editing in iMovie via ethernet without issue), I could use a third party synch app (I like Sync) to mirror any of the content from the mini server to a local drive; this works fine with anything but multi-way synching, such as address books being modified in different locations. I'd probably try to set up one of those Mobile Me clone systems or use a 3rd party app if I needed to do that.
    Again, maybe this isn't powerful enough or "synched" enough in terms of local storage for your taste, but the advantage is that a Mini uses a minute fraction of the power of a Mac Pro, so you're saving a lot on electricity if the computer will be powered up at all times as a server, and it's also a lot more full-featured as a home theater media hub than an AppleTV. And, heck, the thing is about as well equipped as my old top-of-the-line G5 tower for a 5th the cost and 1/15th the power and noise.

  • Help with Multiple libraries and one storage location for files

    I cannot get an answer to this question anywhere and was really hoping that The [H] would be able to help.
    Here is my current set up that allows my wife and I to have completely independent libraries and ratings, but use the same files:
    -Shared folder with MP3s on a network drive.
    -Two PCs, each with it's own Ipod associated to it with individual libraries but all pointing to the same network share for MP3 Files.
    -Each PC is using the SAME Itunes account for downloads.
    -Each account has it's own library folder also on a network share.
    Now to my question(s)/problem with downloaded content:
    (1) Is there any way to have a file that is downloaded from Itunes be automatically placed in a shared location accessible to both Libraries? (Say if I download the latest Jack Johnson album, can it automatically show up in my wife's library and vice versa?)
    (2) Is there any way to share the album artwork versus having two copies of everything(one for each library)?
    So my goal is to have two libraries with a central location for ALL files, including anything downloaded from Itunes by each individual user. Is this possible?

    Have your wife transfer all purchases from the iPad into iTunes, backup her iPad and then sync with iTunes. Everything ... All media and other content will be available in that iTunes library and she will have a current backup.
    Assuming that your son will still be sharing your wife's Apple ID (he is too young to have one of his own) .... When you set up his iPad, restore the iPad from your wife's backup and then select only the content that you want your son to have on his iPad in the iTunes library and then sync that iPad with iTunes.
    The game progress is stored in the backup and should transfer onto his device when you restore from your wife's backup. You can always delete any content (apps, movies, music) that you don't want your son to have on the iPad, if you missed it when you synced with iTunes after setting the device up for him.
    You can set your sync preferences - any way that you want to - for both devices and still use the same iTunes library for both iPads. So ... Yes you can sync any apps that you want to his iPad and any apps that your wife wants to her iPad. You just need to restore your son's iPad from your wife's backup in order to get his game progress onto his iPad.
    In case you need these....
    Transfer purchases.
    http://support.apple.com/kb/HT1848
    How to backup and restore from a backup
    http://support.apple.com/kb/HT1766
    Remember to have your wife backup her iPad just before you restore his iPad from the backup so that his most recent progress will be available in the backup.

  • How to copy all video sources to one central location?

    Hello
    Having picked up excellent tips from the forums and now overcome my initial hiccups I am now running Premiere Elements 8 very successfully and am, delighted with the results BUT I still have a nagging query.
    I am using a USB memory stick and an external HDD to bring video sources into my project to be editied and rendered. This works fine but of course whenever I want to amend the project, I need to plug in these devices again, no problem until one day in the future I don't have that particuilar stick or drive!!!!!
    Simple question is : How do I copy all these resources to one central location for current and future use please?
    I suppose this is a dumb question but please take in to account I'm a keen but very green newbie!!!  Many thanks in advance,
    Paul (UK)

    Steve, I just went through your Basic Training toturial and I have to say it was one of the clearest, well paced and immediately understandable series I've seen yet. You cover it all quickly and logically and I now see where I made soooooooooo many mistakes. Haven't Adobe head hunted you yet? One minor suggestion. . .  being a Brit, PAL is our standard and, because you have all nationalities viewing your material, it might be helpful for the PAL area to be mentioned in the initial project set up too. I know about PAL and NTSC but others may not. Hope you don't mind this tiny point? I can't thank you enough for the guidance you've given me already  . . . you're a very patient guy with us newbies! Thanks.
    Bill, thanks for the "thumbs up" too on those Harm set ups, it's good to get confirmation from someone who's done it and proved the case. I don't have RAID either but the settings below that level are perfectly fine for me. I'm really looking forward to my next, properly configured project.
    Thanks Bill

  • Looking for an app that finds a restaurant centrally located to me

    looking for an app that finds a restaurant centrally located to me and friends

    Try the App store:
    1. In search type R followed by E followed by S followed by T followed by A followed by U followed by R followed by A followed by N followed by T.
    2. Click SEARCH.
    3. Browse through results.
    4. Select the app that you want.
    5.Click download on the app you want.
    6.After that App is downloaded use the app.

  • LSO 600 Configuration - Central Storage Location for XSLT Files

    Hi,
    We are implementing LSO 600 with enhancement pack 2 and I am haiving trouble figuring out what do do with the configuration steps
    Enter Address of Central Storage Location for XSLT Files
    and
    Enter Address of Central Storage Location for Templates.
    The config notes indicate that these can be a directory or network path with the format
    servername\filename\.
    As I understand it this is is the address of the file on the Portal Server where  XSLT files and templates be stored. The problem that I am hearing from the basis team is (I am qouting an email from them) "who accesses the share? Is it the server, the client PC or both? We’re running in a linux environment so I don’t have any shares the PC can access."
    Does anybody have any input?
    Thanks,
    Andy

    Hi Andy!
    I am happy that the issue is already clear!
    Beeing busy makes life more interesting )
    May I ask for your private mail, because I had some questions regarding your LSO implementation.
    Mine is:
    [email protected]
    Thx in advance and have a nice day!
    best regards,
    Zsolt
    P.S.: since I am a Moderator for SDN it is my job to keep the rules on the Forum therefore I would like to ask you to close this thread because the question - as you stated - is answered.
    Thank you!

  • SBS 2011 GPO for changing the default save location for Word/Excel 2013 not working

    So this is a strange one. I've got an SBS 2011 server that's the only domain controller in the org. I've created a GPO to change the default save location for Excel 2013 and Word 2013 using the Office 2013 ADMX files which were installed to the PolicyDefinitions
    folder.
    The GPO (U-Office2013 Default Save Location) only contains:
    1. User Configuration - Microsoft Excel 2013/Excel Options/Save - Default file location - Enabled - Z:\
    2. User Configuration - Microsoft Word 2013/Word Options/Advanced/File Locations - Default file location - Enabled - Z:\
    The GPO is linked at the OU that contains my users for my SBS organization.
    When I do a gpupdate /force on a windows 7 system with office2013 installed, and then run a gpresult/rsop, the policy appears to be applied successfully as it lists my GPO under the Applied GPOs list on the workstation:
    Applied GPOs
    Default Domain Policy dyndns.local AD (24), Sysvol (24)
    U-Office2013 Default Save Location domain.local/SBSusers AD (6), Sysvol (6)
    In the gpresult report, the applied settings appear under:
    Administrative Templates
    Extra Registry Settings
    software\policies\microsoft\office\15.0\excel\options\defaultpath Z:\ U-Office2013 Default Save Location
    software\policies\microsoft\office\15.0\word\options\doc-path Z:\ U-Office2013 Default Save Location
    BUT, when I go to the workstation, and check office->options-Save-default file path, the path has not been changed to what the GPO is pushing.
    The strange thing is that in my test environment running 2008R2 server and Win7 with Office 2013 and identical settings the default save location is applied and works as expected.
    Any ideas?
    I've already tried re-installing the ADMX templates and re-created the GPO's several times.
    I should also note that other GPO's on the SBS2011 server such as the folder redirection GPO work as expected on the same windows 7 system. It just appears to be an issue with the default save location in office2013 and other Office 2013 related GPOs which
    utilize the recently added ADMX template that don't seem to be working for me.
    Thanks in advance.

    Hi Justin,
    Thanks for your reply. I have tried several different user accounts (all have local admin privileges to the workstation) with the same issue. The default save path does not get applied from the GPO to any of the users i've tried. Here's the steps I took
    per your suggestion:
    1. log on as a user who has never logged onto the workstation before.
    2. run gpupdate /force (entered y for yes when prompted to log off).
    3. Log back in as the user and open Office and check the default save path. It has not been changed to match the GPO setting.
    4. Check rsop to see if the policy was applied. Rsop states the gpo was applied successfully.
    I have attached the gpsvc.log file from a the session described above. The GPO Guid in question is: {DC3C93EC-7C28-48E9-BA38-FCA1E275A207}. Its common name is: U-Word 2013 Default Save Location. It's only setting is:
    Policies\Administrative Templates\Policy definitions(admx files retrieved from central store\Microsoft Word 2013\Word Options\Advanced\File Locations\Default File Location = Enabled\Documents = F:\
    -------gpsvc.log sections containing the aforementioned GUID start---------
    GPSVC(410.1730) 09:10:51:186 ProcessGPO:  ==============================
    GPSVC(410.df0) 09:10:51:186 GetGPOInfo:  ********************************
    GPSVC(410.1730) 09:10:51:186 ProcessGPO:  Searching <cn={DC3C93EC-7C28-48E9-BA38-FCA1E275A207},cn=policies,cn=system,DC=gc,DC=local>
    GPSVC(410.1730) 09:10:51:186 ProcessGPO:  User has access to this GPO.
    GPSVC(410.1730) 09:10:51:186 ProcessGPO:  GPO passes the filter check.
    GPSVC(410.1730) 09:10:51:186 ProcessGPO:  Found functionality version of:  2
    GPSVC(410.1730) 09:10:51:186 ProcessGPO:  Found file system path of:  <\\gc.local\SysVol\gc.local\Policies\{DC3C93EC-7C28-48E9-BA38-FCA1E275A207}>
    GPSVC(410.1730) 09:10:51:186 ProcessGPO:  Found common name of:  <{DC3C93EC-7C28-48E9-BA38-FCA1E275A207}>
    GPSVC(410.1730) 09:10:51:186 ProcessGPO:  Found display name of:  <U-Word 2013 Default Save Location>
    GPSVC(410.1730) 09:10:51:191 ProcessGPO:  Found user version of:  GPC is 3, GPT is 3
    GPSVC(410.1730) 09:10:51:191 ProcessGPO:  Found flags of:  0
    GPSVC(410.1730) 09:10:51:191 ProcessGPO:  Found extensions:  [{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{D02B1F73-3407-48AE-BA88-E8213C6761F1}]
    GPSVC(410.1730) 09:10:51:191 ProcessGPO:  ==============================
    GPSVC(410.1730) 09:10:51:191 ProcessLocalGPO:  Local GPO's gpt.ini is not accessible, assuming default state.
    GPSVC(410.1730) 09:10:51:191 ProcessLocalGPO:  GPO Local Group Policy doesn't contain any data since the version number is 0.  It will be skipped.
    GPSVC(410.1730) 09:10:51:191 GetGPOInfo:  Leaving with 1
    GPSVC(410.1730) 09:10:51:191 GetGPOInfo:  ********************************
    -------gpsvc.log start---------
    -------output of gpresult /r-------
    Microsoft (R) Windows (R) Operating System Group Policy Result tool v2.0
    Copyright (C) Microsoft Corp. 1981-2001
    Created On 5/30/2014 at 9:24:08 AM
    RSOP data for GC\ssanders on OPTI9020-01 : Logging Mode
    OS Configuration:            Member Workstation
    OS Version:                  6.1.7601
    Site Name:                   Default-First-Site-Name
    Roaming Profile:             N/A
    Local Profile:               C:\Users\ssanders
    Connected over a slow link?: No
    COMPUTER SETTINGS
        CN=OPTI9020-01,OU=SBSComputers,OU=Computers,OU=MyBusiness,DC=gc,DC=local
        Last time Group Policy was applied: 5/30/2014 at 9:10:47 AM
        Group Policy was applied from:      GCSBS.gc.local
        Group Policy slow link threshold:   500 kbps
        Domain Name:                        GC
        Domain Type:                        Windows 2000
        Applied Group Policy Objects
            Windows SBS CSE Policy
            Windows SBS Client - Windows Vista Policy
            Windows SBS Client Policy
            Update Services Client Computers Policy
            C-Create Syntiro Root Folders
            Default Domain Policy
        The following GPOs were not applied because they were filtered out
            Local Group Policy
                Filtering:  Not Applied (Empty)
            Windows SBS Client - Windows XP Policy
                Filtering:  Denied (WMI Filter)
                WMI Filter: Windows SBS Client - Windows XP
        The computer is a part of the following security groups
            BUILTIN\Administrators
            Everyone
            BUILTIN\Users
            NT AUTHORITY\NETWORK
            NT AUTHORITY\Authenticated Users
            This Organization
            OPTI9020-01$
            Domain Computers
            System Mandatory Level
    USER SETTINGS
        CN=Stephen Sanders,OU=SBSUsers,OU=Users,OU=MyBusiness,DC=gc,DC=local
        Last time Group Policy was applied: 5/30/2014 at 9:13:17 AM
        Group Policy was applied from:      GCSBS.gc.local
        Group Policy slow link threshold:   500 kbps
        Domain Name:                        GC
        Domain Type:                        Windows 2000
        Applied Group Policy Objects
            Windows SBS User Policy
            Windows SBS CSE Policy
            Small Business Server Folder Redirection Policy
            U-Word 2013 Default Save Location
            U-Office 2013 Disable Backstage
            U-Office Disable Start Screen
            U-Office Trust Center Settings
            U-Word Autorecover Location
            U-Word Autosave Interval
            U-Word Disable Capitalization First Word
            U-Word Set Arial Default Font
            U-Word UI Customizations
            U-Power Plan Settings
            Default Domain Policy
        The following GPOs were not applied because they were filtered out
            Local Group Policy
                Filtering:  Not Applied (Empty)
        The user is a part of the following security groups
            Domain Users
            Everyone
            BUILTIN\Administrators
            BUILTIN\Users
            NT AUTHORITY\INTERACTIVE
            CONSOLE LOGON
            NT AUTHORITY\Authenticated Users
            This Organization
            LOCAL
            Windows SBS Link Users
            Windows SBS Fax Users
            Windows SBS SharePoint_MembersGroup
            Windows SBS Folder Redirection Accounts
            Windows SBS Remote Web Workplace Users
            High Mandatory Level
    -------end gpresult output-------       
    Thanks in advance for any help. I also have a pps ticket open with Microsoft, but they're dragging their feet.

  • Sharing Catalogue and Images from a central location

    I'm about to buy PSE5. Before spending the money, I'd appreciate any thoughts from more experienced users.
    What I'd like to do is have all photos stored on a central file server. From what I've read on these forums, all of the info (ie tags etc) used by PSE5 is stored in the catalogue file. I'd like to have the catalogue also stored on the file server. Each "client" would then point to this location for the common catalogue.
    The idea is that multiple computers can access the common photo catalogue. This would also allow me to connect remotely through my vpn. I understand that only 1 user can have access to the catalogue at any given time. Although inconvenient, I could live with this.
    For Backup, I will simply duplicate the volume on the server to a remote location. I don't have a lot of faith in applications that attempt to do their own backup.
    Will PSE5 allow to work as above ?
    Any thoughts, comments, suggestions would be appreciated.

    Sounds like you have the basics down. Just an FYI-somewhere I read (but can not find) some Adobe disclaimer that Elements is not intended as a networked application. I think this is more a means of abating any potential complaints, not as a carved in stone "It will not work".
    I think all should work as you describe, but I have no hands-on with a similar setup. Hope all works for you.

  • No object DCH for MIME type multipart/related

    Hi, everyone!!!
    When I execute my code, I got this exception:
    javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/related
    boundary="----=_Part_0_20851530.1186777547859"
    the funny things is : I got it work before. However, when I come back a few days to run, it doesn't.
    I use tomcat 5.0,
    mail.jar: version: 1.6
    activation.jar:version: I don't know but I download the new ones in sun website.
    Note: Also, when I run the code below in standalone application (java application), it works but doesn't work on tomcat application
    Any help would be appreciate.
    I tried some helps tips from other website such as http://www.jguru.com/faq/view.jsp?EID=237257
    and still doesn't work :((((
    ***********Here is my code**********
    ********props is properties file...............
    Authenticator auth = new SMTPAuthenticator();
              // Get session
              Session session = Session.getDefaultInstance(props, auth);
              session.setDebug(true);
              // Create the message
              Message message = new MimeMessage(session);
              // Fill its headers
              message.setSubject(subject);
              message.setFrom(new InternetAddress(from));
    for(int x=0;x<recipients.size();x++)
         message.addRecipient(Message.RecipientType.TO, new InternetAddress(recipients.get(x).toString()));
                        // Create your new message part
                        BodyPart messBodyPart=new MimeBodyPart();
                        // Set the HTML content, be sure it references the attachment
                        String htmlText="<h1>Hi</h1>"+"<img src=\"cid:picture\">";
                        // Set the content of the body part
                        messBodyPart.setContent(htmlText, "text/html");
                        // Create a related multi-part to combine the parts
                        MimeMultipart multipart=new MimeMultipart("related");
                        // Add body part to multipart
                        multipart.addBodyPart(messBodyPart);
                        // Create part for the image
                        messBodyPart=new MimeBodyPart();
                        // Fetch the image and associate to part
                        System.out.println("before dataSource");
                        DataSource fds=new FileDataSource(this.getString("image_location"));
                        System.out.println("After dataSource");
                        messBodyPart.setDataHandler(new DataHandler(fds));
                        System.out.println("*************** dataSource");
                        // Add a header to connect to the HTML
                        messBodyPart.setHeader("Content-ID", "<picture>");
                        // Add part to multi-part
                        multipart.addBodyPart(messBodyPart);
                        // Associate multi-part with message
                        message.setContent(multipart);
                        // Send message
                        System.out.println("Before Send");
                        Transport.send(message);
                        System.out.println("Finish");
    }

    Thank you for your response!!!
    I already found the solution. For those who still having problem send e-mail, make sure to put mail.jar and activation.jar in the same location.
    Also, make sure to check catalina.xml to make sure those jars are same location!!!->That what I found out.
    ->I put jars in same location of my eclipse project but it turns out, the tomcat app server didn't put them in same location.
    Anyway, Thank you java_2006 for your response!!!!!
    :)

Maybe you are looking for

  • Ipad garageband does not syncing with icloud.

    ipad garageband does not syncing with icloud. There are garageband project files in icloud storage, but garageband can't find this files. how can I get these files back?

  • How do i sync photos from iphone to pc

    how do i sync my photos from my iphone 4s to my pc?

  • Connect by Prior in Oracle 8i question

    Need help with building tree-structured query in Oracle 8i (Forms 6i front end if it matters). Sample structure and data: CREATE TABLE table_list my_code NUMBER, my_level NUMBER, my_description VARCHAR2(60) CREATE TABLE table_content my_code NUMBER,

  • Installing Forms Developer 6i on Linux

    When I try to install Forms Developer (Server) 6i, I get an error that a file is missing, libXm.so.2. It seems to be connected to the Motif library that the installer asked for, but the server doesn't have Motif. Is it a requirement to install Develo

  • Zoom and pan map?

    Dear friends, Over the last few months I tested an endless series of jQuery-based scripts to find a way to do a seemingly easy task: allow readers to zoom and pan to a detailed map on an ebook created through iBooks Author. The result is that none of