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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...SendBulkEmailNotification on a Schedule?SendBulkEmailNotification on a Schedule?
Previous
 
Next
New Post
6/25/2010 2:36 PM
 
Hi,

We currently have a custom feature request module that utilizes the built in SendBulkEmailNotification class to send a bulk notification to all registered users when a new feature request is approved. The problem is we have alot of users, and when the SendBulkEmailNotification is executed it locks up the server. Is there a feature built in to the BulkEmail class that will allow me to send queued up emails on a schedule?

Thanks in advance!

Larry B.
 
New Post
6/25/2010 2:45 PM
 
Larry, the class is capable of handling this (asynchronous or synchronous). What version of the core are you using (is it 5.3 or later, or prior to this)? 

Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
6/25/2010 3:02 PM
 
We're using 5.4.2.

Heres what the function call looks like:

Dim objSendBulkEMail As New Services.Mail.SendTokenizedBulkEmail(objRoleNames, objCompanyUsers, False, messageSubject, messageBody)
objSendBulkEMail.SendingUser.Email = Host.GetHostSettingsDictionary("HostEmail")
objSendBulkEMail.Send()


What do I need to change to make it send on a schedule? Would that be synchronous? Is there any documentation on this?

Thank you!
 
New Post
6/25/2010 3:08 PM
 
Well, as of 5.3 core there is a service for sending mail (and it will handle the sending/queuing for you) thus you won't need to even involve the class mentioned in previous posts. You may be able to find info about it around but I doubt there is documentation. I would have to double check but I think the Newsletter module as of 5.3 uses it. 

Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...SendBulkEmailNotification on a Schedule?SendBulkEmailNotification on a Schedule?


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