Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Where do I configure this PickupDirectory ? Sorry, I'm new to EPiServer development.
No worries. It's also in your web.config, I believe something like below. It will create files from your emails and put them in the directory instead of sending them.
<system.net>
<mailSettings>
<smtpdeliveryMethod="SpecifiedPickupDirectory"from="no-reply@example.com">
<specifiedPickupDirectorypickupDirectoryLocation="C:\path\to\pickupdirectory" />
</smtp>
</mailSettings>
</system.net>
Is there a particular format to provide smtp server details on web.config. I need to set my local smtp to my epi sebsite. I'm always getting an error while sending an email from XForm.
I have provided my smtp settings in web.config as follows:
<system.net>
<mailSettings>
<smtp from="EMAIL_Address">
<network host="serverName" port="25" userName="" password=""/>
</smtp>
</mailSettings>
</system.net>