This article describes how to setup the CNMailSession from Content Navigator to work with Office365.

To use the smtp.office365.com SMTP server. You must have a valid office365 mail account or outlook.com mail account login ID and password. The sender’s ‘From Address’ must also be a valid Microsoft Live account, an outlook Live or office365 mail account. You cannot send from an unregistered or anonymous account. You can add email aliases to your Microsoft Live account. These aliases can then be used as an alternative ‘From Address’if required. To add an alias, view your profile in Microsoft Live and choose the option ‘Manage how you sign in to Microsoft’.Under the section Account aliases, see ‘Add email’.

Test your smtp access using an online SMTP test service like: https://www.gmass.co/ SMTP-test. You can test your SMTP authentication and your ‘From Address’. This tool will show you the SMTP conversation, check your authentication and your ‘From Address’

The java mail session inWebSphere must be setup to use smtp.office365.com as the SMTP host and a validated Microsoft Live, outlook Live or office365 mail user ID and passwordfor authentication.Add custom properties to the mail session: (All added as String type)

  • mail.smtp.port = 587
  • mail.smtp.auth = true
  • mail.smtp.ssl.enable = false
  • mail.smtp.starttls.enable = true
  • mail.smtp.starttls.required = false
  • mail.smtp.sendpartial = true
  • mail.smtp.connectiontimeout = 60000
  • mail.smtp.timeout = 60000
  • mail.smtp.writetimeout = 60000

You also need to import the Office365 SSL certificate into the NodeDefaultKeyStore and the NodeDefaultTrustStore Signer certificates.

The best way is to retrieve it from port, because you will receive the latest version of the certificate.

17 thoughts on “Configuring Content Navigator MailSession for Office365

  1. Greetings from Ohio! I’m bored at work so I decided to check out your blog on my iphone during lunch break. I enjoy the knowledge you present here and can’t wait to take a look when I get home. I’m shocked at how quick your blog loaded on my cell phone .. I’m not even using WIFI, just 3G .. Anyways, great site!

  2. Somebody essentially help to make seriously articles I would state. This is the first time I frequented your website page and thus far? I amazed with the research you made to make this particular publish amazing. Excellent job!

  3. The other day, while I was at work, my cousin stole my iphone and tested to see if it can survive a thirty foot drop, just so she can be a youtube sensation. My iPad is now destroyed and she has 83 views. I know this is completely off topic but I had to share it with someone!

  4. Hi just wanted to give you a brief heads up and let you know a few of the pictures aren’t loading properly.
    I’m not sure why but I think its a linking issue.
    I’ve tried it in two different web browsers and both show the same outcome.

  5. The next time I read a blog, I hope that it doesnt disappoint me as much as this one. I mean, I know it was my choice to read, but I actually thought youd have something interesting to say. All I hear is a bunch of whining about something that you could fix if you werent too busy looking for attention.

  6. The next time I read a blog, I hope that it doesnt disappoint me as much as this one. I mean, I know it was my choice to read, but I actually thought youd have something interesting to say. All I hear is a bunch of whining about something that you could fix if you werent too busy looking for attention.

  7. Hey would you mind sharing which blog platform you’re using? I’m going to start my own blog soon but I’m having a tough time choosing between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design seems different then most blogs and I’m looking for something unique. P.S My apologies for getting off-topic but I had to ask!

  8. Hi there, simply turned into aware of your blog via Google, and found that it is truly informative. I am going to be careful for brussels. I’ll appreciate if you happen to continue this in future. Lots of people will likely be benefited from your writing. Cheers!

Leave a Reply

Your email address will not be published.