Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Sending email from Cassini and DNN 4.3.5
mtallhamer
#1 Posted : Friday, October 27, 2006 10:10:06 AM(UTC)
Groups: Member
Joined: 10/24/2006(UTC)
Posts: 1
Location: Denver, Colorado

First off let me say thank you to the Cassini team. Your product is absolutely great!! I'm not a web developer by trade and I have been tasked with developing a internal CMS. I'm using DNN 4.3.5 running on Cassini and it has saved me lots of learning curve by being just a down right perfect solution.

I have set up an intranet CMS using Cassini and DDN4.3.5 and I would like to be able to send email notification to users from the events module containing reminders as desktop events for their outlook calendars. I have looked over the forums and found a similar post on sending emails from Cassini to which the Cassini Team replied and said you can use your Exchange Server to send emails but you needed to change your web.config file in some way to do so. I need some pointers on what to change in my web.config file so I can use our Exchange server to send these emails. As I said I am not a web developer by trade so my understanding of the config file is limited but I can't seem to find a tag that sets the attributes of the Exchange server. Do I need to add this myself and if so can I get the syntax for it from one of you more experienced web developers. I can send the config file if need be just let me know.

And as a side note I'm not against loading a third parts SMTP server on the box to do this if it is easier but I have an Exchange server at work so I thought I would start there...again you guys are the professionals so I default to you expertise.

My system:
Windows XP Pro
UltiDev Cassini - again great stuff guys :-)
VS 2005 VWD Express
SQL Server 2005 Express


Thanks,
Michael Tallhamer
Medical Physicist
Department of Radiation Oncology
Rock Mountain Cancer Centers

Ultidev Team
#2 Posted : Friday, October 27, 2006 10:45:39 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hello, Michael.

Nothing is greater for us than getting this kind of feedback. Thank you, and we hope you keep using our Cassini. It's also special for us, because you evidently work on radio treatment of cancer, and some of us here know exactly how important that is.

Regarding DNN sending email messages, we'd have to say we don't have solid experience with DNN, but as long as DNN Events module is using standard ASP.NET 2.0 web.config settings for SMPT server - you should be able to setup email notifications relatively easily. Here's how web.config with SMTP settings usually looks like:
Code:
<configuration>
<!-- Add the email settings to the <system.net> element -->
<system.net>
<mailSettings>
<smtp>
<network
host="smtpServerHostname" <!-- network address of Exchange server goes here if you use Exchange -->
port="portNumber" <!-- usually value is 25 unless SMTP server is running on non-standard port -->
userName="username"
password="password" />
</smtp>
</mailSettings>
</system.net>

<system.web>
...
</system.web>
</configuration>

If you already have SMTP server, Exchange or other, up & running - you should be able to get email notifictions work farily quickly.

Please modify DNN's web.config and let us know if you were able to resolve this issue.

Please also take a look at this article walking through the process of sending emails from ASP.NET 2.0 applications.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest (7)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.