Hi.
I'm working on a page (ASP.NET MVC) where you should be able to send
an email to some or all of our customers.
First you should chose the recipients (on various views) and then be
linked to the view where you can write the message.
The thing is that you'll probaly end up having 50-500 recipients, so
having an action like this one:
public ActionResult Compose(string recipients) { }
....is bad because I would end up with URLs like:
http://...../Message/Compose?recipie...;mail2@aa.com;...
....or something like that. Not so pretty when theres 500 emails.
Is there a way to parse an array to the action or how can you handle
this problem?
Thanks in advance.
- Tommy
I'm working on a page (ASP.NET MVC) where you should be able to send
an email to some or all of our customers.
First you should chose the recipients (on various views) and then be
linked to the view where you can write the message.
The thing is that you'll probaly end up having 50-500 recipients, so
having an action like this one:
public ActionResult Compose(string recipients) { }
....is bad because I would end up with URLs like:
http://...../Message/Compose?recipie...;mail2@aa.com;...
....or something like that. Not so pretty when theres 500 emails.
Is there a way to parse an array to the action or how can you handle
this problem?
Thanks in advance.
- Tommy
Comment