DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
  • submit to reddit
Adi Gaskell09/11/14
0 replies

New innovation aims to make our energy use smarter

As the energy market has become (slightly) more transparent, there is an increasing desire amongst consumers to become smarter with their energy usage, both in terms of when they use it, and the sources they get their energy from. This has prompted a response from the more innovative sections of the marketplace.

Bloomfire Marketing09/11/14
0 replies

The Miracle Foundation Accelerates Team Development Overseas

The Miracle Foundation transforms the lives of orphan children and empowers them to reach their full potential by revolutionizing the way orphanages are run, funded, and managed.

Adi Gaskell09/11/14
0 replies

Bayer healthcare launch their own accelerator

Innovation is central to healthcare, perhaps more than any other industry, so it has understandably been a hive of activity in securing insights from wherever they may reside. The desire to attract talented people from outside the traditional organization has prompted an enthusiastic adoption of open innovation within healthcare.

Shany Dembak09/11/14
0 replies

Can Content Marketing Convert to Sales?

Whether you’re an entrepreneur trying to expand your startup’s customer base, or you have an established company but you’d still like to see your sales grow, you probably have some questions about content marketing.

//Adding Attachments to a New Email Message

public static void main(String[] args)
    // Base folder for reading and writing files
    String strBaseFolder = "D:\\Data\\Aspose\\resources\\";

    //Initialize and Load an existing MSG file by specifying the MessageFormat
    MailMessage email = MailMessage.load(strBaseFolder + "anEmail.msg", MessageFormat.getMsg());

    //Initialize a String variable to get the Email Subject
    String subject = email.getSubject();
    //Append some more information to Subject
    subject = subject + " This text is added to the existing subject";
    //Set the Email Subject

    //Initialize a String variable to get the Email's HTML Body
    String body = email.getHtmlBody();
    //Apppend some more information to the Body variable
    body = body + "<br> This text is added to the existing body";
    //Set the Email Body

    //Initialize MailAddressCollection object
    MailAddressCollection contacts = new MailAddressCollection();

    //Retrieve Email's TO list
    contacts = email.getTo();
    //Check if TO list has some values
    if (contacts.size() > 0)
        //Remove the first email address
        //Add another email address to collection
    //Set the collection as Email's TO list

    //Initialize MailAddressCollection
    contacts = new MailAddressCollection();

    //Retrieve Email's CC list
    contacts = email.getCC();
    //Add another email address to collection
    //Set the collection as Email's CC list

    //Save the Email message to disk by specifying the MessageFormat + "message.msg", MailMessageSaveType.getOutlookMessageFormat());

//Loading a Message with Load Options

//To load a message with specific load options, Aspose.Email provides the MessageLoadOptions class that can be used as follow:

MesageLoadOptions options = new MesageLoadOptions();
options.PrefferedTextEncoding = Encoding.getEncoding(1252);
MailMessage eml = MailMessage.Load("EMAIL_497563\\test3.msg", options);

Adi Gaskell09/10/14
0 replies

The role of group membership in culture

There is a lot to be said for the power of the collective, and membership of this group on our individual psyche. A recent study from researchers at the University of Ottawa for instance found that when we’re ostracized from a group, it does more damage to our mental well-being than direct harassment.

Hearsay Social09/10/14
0 replies

To all 90,000 of you: thanks for believing in us

Four years ago, Steve and I set out on a mission to bring Social Business to relationship managers. We felt Social Business could bring us back to what the industry has always been about: listening to people, understanding their dreams, and guiding their most important and impactful decisions regarding the future.

Adi Gaskell09/10/14
0 replies

Meet Amy, the AI office assistant

Whilst many of us may associate mobile apps with Angry Birds and their like, there is pleasingly a growing trend of apps that are aiming to be rather valuable in terms of our productivity.

Highq Collaborate09/10/14
0 replies

What could Jennifer Lawrence learn from enterprise cloud technology?

The batch of nude celebrity photos leaked from Apple’s iCloud to the internet last weekend inspired headlines and debates across the media. The shock reverberated throughout the iCloud community, as the extent of how vulnerable our personal information is when stored using the consumer cloud services became very clear.

Adi Gaskell09/09/14
0 replies

Are ethical companies bad for society?

Being a keen cyclist I tend to ride a few hundred kilometres a week, and as such my two bikes tend to need regular maintenance and repair to keep them in good working order. Whilst I’ve made an attempt to become more learned in the various mechanics of bike repair, it’s still not something that comes particularly naturally.

Bloomfire Marketing09/09/14
0 replies

KMWorld: Bloomfire a Trend-Setting Product of 2014

Leading knowledge management publication KMWorld has named Bloomfire a trend-setting product of 2014, highlighting the latest integrations with Box, Dropbox, Google Drive, and Microsoft OneDrive.

Adi Gaskell09/09/14
0 replies

Why the praise sandwich isn’t so wholesome

Feedback is crucial to improvement, whether it’s as an individual or as an organisation. Despite it’s importance however, the act of delivering it is something that few of us are all that good at doing. This is especially so when the feedback is negative in some way.

Highq Collaborate09/09/14
0 replies

Enterprise collaboration news

Without a doubt, the biggest news in the enterprise collaboration world this August was about ILTA 2014, the annual legal technology conference this year held in Nashville, Tennessee.

Adi Gaskell09/09/14
0 replies

The management price of fairness

Earlier this year I posted about a new study exploring the small matter of hierarchy in the workplace, and specifically how employees perceived it.

Mark Morrell09/08/14
0 replies

Intranet Now has a bright future!

Congratulations Wedge and Brian for successfully giving birth to Intranet Now yesterday. It was a privilege to be there yesterday. I have never experienced such an atmosphere of goodwill and wish for everything to go well from everyone – delegates, speakers, and sponsors.

Adi Gaskell09/08/14
0 replies

How stereotypes can erode performance

We all know that stereotyping is generally not a good idea, right? Sadly, I’m sure we all are also aware that it’s all too pervasive in life.

Paul Andrews09/08/14
0 replies

Is Social Media Hurting Our Social Skills?

It seems peculiar to suggest that in this social media driven age that our social skills could be in decline. After all, we send millions of messages to each other every day, so surely all of that communication must be helping?

Adi Gaskell09/08/14
0 replies

How the production line can speed up innovation

When we talk about innovation, it’s often accompanied by mention of things such as flatter management structures, more collaborative decision making and transparent flow of information.

Interact Intran...09/08/14
0 replies

The Good Intranet Parenting Guide

Many of my peers in the intranet industry will openly tell you that your intranet is not a project. However, very few actually say what your intranet is if it isn’t a project.

Adi Gaskell09/07/14
0 replies

How you can perceive your way to better sleep

It’s fairly well known that sleep has a powerful impact on our cognitive abilities, both in terms of how we learn new things and how we perform at work.