When I was customizing the Tanasuk website using the Sitecore E-Mail Campaign Manager, I found myself needing more information beyond what was given in the Sitecore 6.5 Administrator and Developer Guide. So I did a bit of digging and found this great post as well as some further research that allowed the module to receive the DSN (Delivery Status Notification) from Gmail for Analytics. Here is what I discovered:
First thing, download the latest version of the module from http://sdn.sitecore.net/Products/ECM.aspx and install the package on sitecore and then publish
There are two ways to configure the module
#1: Sitecore App Center’s Email Delivery Service as an MTA
The module obtains all the necessary SMTP settings from the Sitecore App Center however it does cost money to use (which could be seen as a disadvantage).
#2: Using a Custom MTA ( this is the option I went with)
You can use any MTA you want, but you have to use their required settings in order to connect Sitecore to it. The following is a step-by-step approach I took to configure Gmail as Tanasuk's MTA:
1. Change the settings at C:\inetpub\wwwroot\yourwebsite\Website\App_Config\Include\Sitecore.EmailCampaign.config
2. Search for UseLocalMTA and set it to "true" in order to make it use an external MTA such as Gmail.
3. Search for SMTP server address (IP) and change the settings beneath to:
<setting value="smtp.gmail.com" name="SMTP.Server"></setting>
<setting value="587" name="SMTP.Port"></setting>
<setting name="SMTP.LoginDomain"></setting>
<setting value="mohannad@tanasuk.com" name="SMTP.UserName"></setting>
<setting value="yourpassword" name="SMTP.Password"></setting>
<setting value="PLAIN" name="SMTP.AuthMethod"></setting>
<setting value="true" name="SMTP.StartTLS"></setting>
To collect DSN messages for analytics, you will have to do some further configuration:
Open the email campaign manager by going to sitecore > all programs > email campaign manager
Create a new target audience. Under Content, set the delivery status notification fields as follows:
pop3 server -> pop.gmail.com
pop3 ssl->checked
pop3 port 995
pop3username->your gmail account username
Finally, on the ribbon bar go to tools.test connection
It should display this message if your configurations are correct:
Local MTA Settings are used:
Serve: smtp.gmail.com
Port: 587
Login domain: -
Username: mohannad@tanasuk.com
Authentication method: PLAIN
Start
LS: True
Calling MTA (smtp.gmail.com:587)...
MTA OK
Try to send an email. I promise it will work perfectly.
Those were the main settings to set the module. You can find more materials for using the module on the Sitecore Developer Network.