Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Sending Emails from Database - 3rd party module?Sending Emails from Database - 3rd party module?
Previous
 
Next
New Post
7/26/2008 7:55 PM
 

Does anyone know of any 3rd party email modules avaialable that monitors a SQL Server table for new 'emails to send' entries, and then sends them?

I have an enterprise application that uses SQL Server replication to keep data in sync between my colocated website and my local office database - I would like to be able to initiate sent emails on the client side by simply dropping a row in a database table - that way I don't need to worry about the reliability of the local network, or the configuration of SMTP relays, as the web server is already set up to send emails. - and in the event that the local connection goes down - it will eventually come back and replication will catch up.

I know that I could set up a local SMTP relay - but up until now the only communication or configuration that needs to take place between the web server and the local facility is SQL Replication; and as I will be rolling this product out to multiple clients very soon - I would like to keep the connectivity side as simple as possible.

I will probably just end up writting a quick app that uses the DNN Scheduler to check a table and send unsent emails every few seconds - but I thought I would first ask to see if anyone has already done this work.

Thanks for your replies.

Matt

 
New Post
7/26/2008 9:48 PM
 

I think I would rather have thelocal app make a web service call to send the email. This way it will work through firewalls ect.

You can install IWeb on your site, This describes how to make your own methods (there is also a IWeb in C# if you want to write your methods in C#:

http://iweb.adefwebserver.com/ExampleCode/HowtoextendIWebforyourownmodules/tabid/59/Default.aspx

Make a new method with this line:

DotNetNuke.Services.Mail.Mail.SendMail(txtFrom.Text, LabelEmail.Text, "", txtSubject.Text, txtMessage.Text, "", "HTML", "", "", "", "");

If you follow the example code to implement the security, you can easly make the method secure.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
7/31/2008 1:05 PM
 

How about a trigger that sends the mail?

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Sending Emails from Database - 3rd party module?Sending Emails from Database - 3rd party module?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out