Skip to main content
Nintex Community Menu Bar

Mail Event in server code

  • September 29, 2017
  • 1 reply
  • 7 views

I need to make email sending in K2 dynamic as in the number of emails being sent. I will get the emails to sent from a stored procedure and then loop through it and send the emails via K2 workflow. Is there anyway to do the same as Mail Event but from server event activity? I do not wish to connect to SMTP myself, instead still utilising K2 Mail Event.

1 reply

Forum|alt.badge.img+9
  • Apprentice
  • October 1, 2017

Hi vincent007,

 

Try using the Forloop and a mail event together. Here is the link below which will explain you how to use forloop

 

https://simonatk2.wordpress.com/2016/10/19/how-to-for-each-event/

https://vijaydk2guy.wordpress.com/2017/03/25/workflow-for-loop-vs-destination-rule-plan-per-slot-no-destinations/

 

Regards,

Vijay.