Design and CSS styles
Version 7.x > Design and CSS styles > Multiple email addresses in web part field View modes: 
User avatar
Member
Member
dbraun-pediatricweb - 5/24/2013 9:28:16 AM
   
Multiple email addresses in web part field
Hi, we have a feedback web part in which you can enter in the notification email address.
However, our client wants more than one email to receive notification of feedback before it is posted to the site.
The web part will not accept name@name.com;name2@name.com in the "email notification" field.
Do I enter this another way or is there something I have to adjust in the form itself?

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 5/24/2013 10:03:33 AM
   
RE:Multiple email addresses in web part field
If you're using an out of the box webpart and by default it doesn't allow multiple emails, then you'd have to create a clone of that webpart and modify it to parse the delimited email string. Pretty simple update really.

User avatar
Kentico Support
Kentico Support
kentico_filipl - 5/25/2013 5:25:42 PM
   
RE:Multiple email addresses in web part field
Hello,

FroggEye is right. If you want to use multiple e-mails for notification purposes in a custom web part, then you have to parse all e-mail addresses from input in the code behind to be able to process it afterwards.

Best regards,
Filip Ligac