API Questions on Kentico API.
Version 6.x > API > Sending bulk email View modes: 
User avatar
Certified Developer v7
Certified  Developer v7
sachin-asentechllc - 3/12/2013 7:24:29 AM
   
Sending bulk email
Hi Support,

I am using Kentico 6.0 and I want to implement a bulk email functionality.

I have nearly 2500 users in my system. i want to send notification email to them. Is there any efficient way to send the bulk email from kentico using any API?

If yes then please help me by a snippet of that API.

Thanks and regards,
Sachin

User avatar
Kentico Support
Kentico Support
kentico_radekm - 3/12/2013 7:31:17 AM
   
RE:Sending bulk email
Hello.

You can get dataset of all users using the UserInfoProvider.GetUsers method and then loop this dataset for e-mail addresses and send messages according to the following API example: http://devnet.kentico.com/Knowledge-Base/E-mail-Engine/Sending-E-mails-using-API.aspx

Best Regards,
Radek Macalik

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 3/12/2013 7:58:24 AM
   
RE:Sending bulk email
Remember to turn on Emails and Email Queues in Site Manager>Settings>System>Emails as well. In there you can set batch sizes. I'm guessing you won't want to send all 2500 emails at once.

User avatar
Certified Developer v7
Certified  Developer v7
sachin-asentechllc - 3/12/2013 8:24:05 AM
   
RE:Sending bulk email
Hi,
Yes , I want to send all 2500 emails at once. Can you please tell me what is batch size and how much should I mention it?

Thanks and regards,
Sachin

User avatar
Kentico Support
Kentico Support
kentico_radekm - 3/12/2013 9:19:46 AM
   
RE:Sending bulk email
Hello.

I believe default batch size is 50, so you can start with this value.

Best Regards,
Radek Macalik