Which SMTP server are you using and does the email get sent for standard Opti notifications?
Try using the pickup directory delivery method. If you get email files in the maildrop folder, that would indicate an issue with your SMTP settings or when connecting to it
"EPiServer": {
"CMS": {
"Smtp": {
"DeliveryMethod": "SpecifiedPickupDirectory",
"SpecifiedPickupDirectory": {
"PickupDirectoryLocation": "c:/MailDrop"
}
}
}
}
Hi Farhin,
Did you see Ronil's questions? (above)
>>>> Which SMTP server are you using and does the email get sent for standard Opti notifications?
Could you share this section (without the password, of course) from your Web.config file?
<mailSettings>
<smtp from="***@***.***">
<network host="***.***.***" password="************" userName="***" port="***" />
</smtp>
</mailSettings>
<episerver>
<applicationSettings defaultNotificationEmailAddress="noreply@***.com"
defaultNotificationEmailDisplayName="NoReply"
globalErrorHandling="RemoteOnly"
uiSafeHtmlTags="b,i,u,br,em,strong,p,a,img,ol,ul,li"
disableVersionDeletion="false"
httpCacheability="Public"
httpCacheExpiration="02:00:00"
uiEditorCssPaths="~/Static/css/Editor.css"
urlRebaseKind="ToRootRelative"
pageUseBrowserLanguagePreferences="false"
uiShowGlobalizationUserInterface="false"
subscriptionHandler="EPiServer.Personalization.Internal.SubscriptionMail,EPiServer.Cms.AspNet"
uiMaxVersions="20" pageValidateTemplate="false"
uiUrl="~/EPiServer/CMS/" />
</episerver>
<mailSettings>
<smtp>
<network host="***smtp.***.com" />
</smtp>
</mailSettings>
"Episerver":{
"Cms": {
"Smtp": {
"DeliveryMethod": "SpecifiedPickupDirectory",
"SpecifiedPickupDirectory": "./MailDrop"
},
"Network": {
"Host": "***smtp.***.com",
"Port": "25"
},
"Notification": {
"NotificationEmailDisplayName": "NoReply",
"NotificationEmailAddress": "noreply@***.com"
},
}
}
Hi Farhin
Your appsettings json doesn't look correct. The Network settings should be inside the Smtp object as per below, also note the correction to the SpecifiedPickupDirectory syntax
"EPiServer": {
"Cms": {
"Smtp": {
"DeliveryMethod": "Network",
"SpecifiedPickupDirectory": {
"PickupDirectoryLocation": "c:/MailDrop"
},
"Network": {
"Host": "***smtp.***.com",
"Port": "25"
}
},
"Notification": {
"NotificationEmailDisplayName": "NoReply",
"NotificationEmailAddress": "noreply@***.com"
}
}
}
If it still doesn't work using the above, try setting the DeliveryMethod to SpecifiedPickupDirectory and see if you get email files in the MailDrop folder (note you will need to create this folder first in the specified location).
I am using the package in both CMS 11 and CMS 12 sites and both work fine. Following is what I have: Try delivery method as Network
CMS 11:
In my web.config file under <system.net> I have as listed below
<mailSettings>
<smtp configSource="Configs\mailsettings.config"/>
</mailSettings>
Then my mailSettings file under Configs folder has as mentioned below. Make sure to have the smtp from in a valid email format.
<smtp from="noreply@abc.com">
<network host="*****" password="***************************" userName="***" port="**" />
</smtp>
CMS 12:
Under Cms node of appSettings,
"SmtpOptions": {
"DeliveryMethod": "Network",
"network": {
"host": "*******",
"password": "**************",
"port": "***",
"userName": "*****"
},
"NotificationOptions": {
"NotificationEmailAddress": "noreply@abc.com",
"NotificationEmailDisplayName": "Display Name"
}
}
},
I've recently installed version 0.9.3 of the Advanced CMS - Add-on for Advanced & External Reviews on Optimizely 11. However, I'm encountering an issue with the functionality to share external review emails. The error message indicates that the sender email is missing.
To troubleshoot, I created a blank Alloy site with the latest 1.3.6 version to check if the issue persists. Surprisingly, I encountered the same error on the Alloy demo site, which suggests it might not be related to the version or my project structure.
Here's the error message captured in console on Alloy Demo site.
https://ibb.co/ZXT5ks9
I have included notification settings in appsettings as well to see if it makes any difference except that now the console error is gone but email is still not sent.Found a closed ticket on github that still seems to be an issue.
Could there be some configuration that I'm missing? Any insights or suggestions would be greatly appreciated.