Skip to main content link. Accesskey S
  • Anonymous
  • Log on
  • Help
  • IBM logo
  • IBM Mashup Center wiki
  • All Wikis
  • Home
  • Community Articles
  • Product Documentation
  • Learning Center


Search

Advanced Search

Categories

Tag Cloud

  • 2.0
  • 3.0
  • 3.0.0.1
  • action widgets
  • actions
  • admin
  • administering
  • administration
  • administrator
  • adminstering
  • Ajax
  • AJAX proxy
  • annotate function
  • annotator
  • API
  • api reference
  • benchmark testing
  • catalog
  • configuing
  • configuration
  • configure
  • configuring
  • creating
  • creating mashups
  • data
  • data mashup builder
  • data mashups
  • database
  • DB2
  • demo
  • deploy
  • deployment
  • designing applications
  • developer
  • developing
  • developing mashups
  • developing widgets
  • documentation
  • ECM Widgets
  • editing
  • Enterprise Content Management Widgets
  • errors
  • events
  • examples
  • explanations
  • feed
  • feed mashups
  • feeds
  • format
  • functions
  • getting started
  • greenhouse
  • guide
  • IMS database feeds
  • IMS feeds
  • IMS transaction feeds
  • installation
  • installing
  • mashup
  • MashupHub
  • mashuphub examples
  • mashuphub users guide
  • mashups
  • messages
  • migrating
  • objects
  • operators
  • Oracle
  • pages
  • payload types
  • pdf
  • performance
  • performance tuning
  • planning
  • product
  • programming
  • proxy
  • rest services
  • security
  • service
  • spaces
  • themes
  • troubleshooting
  • tutorial
  • tutorials
  • upgrading
  • user
  • users
  • v1.0
  • v1.1
  • v2.0
  • v2.0.0.2
  • v4.5.2.1
  • video
  • WAR
  • widget
  • widgets
  • widgets
  • wire
  • YouTube
InformationInformation
You are currently viewing machine translated content. IBM translation might be available. Click IBM Translated Product Documentation to see what is available.X


Home > Administering > Configuring the e-mail widget for users
Rate this article 1 starRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

Configuring the e-mail widget for users 

expanded Abstract
collapsed Abstract
No abstract provided.
You can configure the e-mail widget to use any e-mail service provider that supports POP3/IMAP and SMTP protocols. Configuration for this widget is performed by administrators so that users can simply log in to their accounts without needing to perform any additional configuration. Currently, the e-mail widget WAR package is available for download on the Lotus Greenhouse Web site.

To understand the configuration information required for e-mail service providers, open the e-mail widget WAR package, and locate WEB-INF/classes/com/ibm/mm/widget/email/provider/providers.json. Here is a snapshot of what this file contains:


[
    {
        "id" : "gmail",
        "name" : "Gmail",
        "addressSuffix" : "@gmail.com",
        "properties" : {
            "mail.imaps.host" : "imap.gmail.com",
            "mail.store.protocol" : "imaps",
            "mail.transport.protocol" : "smtps",
            "mail.imaps.port" : "993",
            "mail.smtps.host" : "smtp.gmail.com",
            "mail.smtps.port" : "465",
            "mail.smtps.auth" : "true",
            "mail.mime.charset" : "utf-8"
        }
    },
    {
        "id" : "hotmail",
        "name" : "Windows Live Hotmail",
        "addressSuffix" : "@hotmail.com",
        "properties" : {
            "mail.pop3s.host" : "pop3.live.com",
            "mail.store.protocol" : "pop3s",
            "mail.transport.protocol" : "smtp",
            "mail.pop3s.port" : "995",
            "mail.smtp.host" : "smtp.live.com",
            "mail.smtp.port" : "587",
            "mail.smtp.auth" : "true",
            "mail.smtp.starttls.enable" : "true",
            "mail.mime.charset" : "utf-8"
        }
    }
]


In the code above, JSON format is used to describe each e-mail service provider. For each e-mail service provider, notice the following attributes:

  • id: the unique identifier
  • name: the name that displays for users
  • addressSuffix: the suffix of the e-mail address
  • properties: the properties required to connect to the e-mail service


Here are descriptions of some typical properties:

  • mail.store.protocol: the protocol used to receive mails, for example pop3 for POP3, imap for IMAP, pop3 for POP3 using SSL, and imaps for IMAP using SSL
  • mail.transport.protocol: the protocol used to send e-mail, for example smtp for SMTP and smtps for SMTP using SSL
  • mail.[PROTOCOL NAME].host: the host for a protocol
  • mail.[PROTOCOL NAME].port: the port for a protocol
  • mail.smtp.auth: indicates whether or not the SMTP server requires authentication
  • mail.mime.charset: the default charset for e-mails

These properties are used by JavaMail. You can add any properties that are accepted by JavaMail. For example, if you want to configure Yahoo! Mail Plus, first locate the information required for POP3/SMTP settings, create the settings, and then change the configuration file, for example:


{
        "id" : "yahoomailplus",
        "name" : "Yahoo! Mail Plus",
        "addressSuffix" : "@yahoo.com",
        "properties" : {
            "mail.pop3s.host" : "plus.pop.mail.yahoo.com",
            "mail.store.protocol" : "pop3s",
            "mail.transport.protocol" : "smtps",
            "mail.pop3s.port" : "995",
            "mail.smtp.host" : "plus.smtp.mail.yahoo.com",
            "mail.smtp.port" : "465",
            "mail.smtp.auth" : "true",
            "mail.mime.charset" : "utf-8"
        }
    }


After you save the file and restart the e-mail widget, you should be able to see Yahoo! Mail Plus in the drop-down list of service providers on the widget's log-in screen.

expanded Article information
collapsed Article information
Category:
Administering, Widget Help,
Tags:
2.0, administering, greenhouse, widget, widgets, e-mail

This Version: Version 1 March 21, 2010 1:55:24 PM by Anna G O'Neal  IBMer

expanded Attachments (0)
collapsed Attachments (0)

 


expanded Versions (1)
collapsed Versions (1)
Version Comparison     
Version Date Changed by               Summary of changes
This version (1) Mar 21, 2010 1:55:24 PM Anna G O'Neal  
expanded Comments (0)
collapsed Comments (0)
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedSubscribe to RSSHelpAbout
  • All Lotus and WebSphere Portal wikis
  • IBM developerWorks
  • IBM Software support
  • IBM Social Business User Experience Blog
  • IBMSocialBizUX on Twitter
  • IBMSocialBizUX on Facebook
  • Lotus product forums
  • IBM Social Business UX blog
  • IBM Collaboration Solutions
  • Recently added feedRecently added
  • Recently edited feedRecently edited
  • Recently added comments feedRecently Added Comments
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Contact IBM
  • IBM Terms of use
  • Wiki terms of use