Tuesday, February 12, 2008

Enabling e-mail for Web Content Management 6.0 - SMTP Authentication

In addition to the InfoCenter steps (http://publib.boulder.ibm.com/infocenter/wpdoc/v6r0/index.jsp?topic=/com.ibm.wp.ent.doc/wcm/wcm_config_smtp.html) you may need to add a username and password if your SMTP server requires authentication.

1- Check WCMConfigService.properties file under /wcm/shared/app/config/wcmservices

2- Add defaultusername and defaultpassword. See example:

#SMTP Mail Setup
connect.connector.mailconnector=defaultsmtpserver, defaultfromaddress, defaultreplytoaddress, defaultusername, defaultpassword

connect.connector.mailconnector.defaultsmtpserver= mail.myserver.com
connect.connector.mailconnector.defaultfromaddress= fernanda@myserver.com
connect.connector.mailconnector.defaultreplytoaddress= fernanda@myserver.com

#Add these lines:
connect.connector.mailconnector.defaultusername= fernanda@myserver.com
connect.connector.mailconnector.defaultpassword= mypassword

3- Restart WebSphere Portal for the new settings to take effect.

Note: For the 6.1 server the config file should be under: was_profile_root/PortalServer/wcm/shared/app/config/wcmservices/

1 comment:

Anderson Marques said...

Thank you so much!!!
I believe this is like a search. I try this and try remember comment this problem.

Best regards,
Anderson Marques