Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I want to be able to mailto all user with a link/button.
To display one user mail is @syv.ePost:
@{ var syvs = CurrentPage.Children.OrderBy("kommun"); } @foreach (var syv in syvs) { <tr> <td data-title="E-post"> @if (!string.IsNullOrEmpty(syv.ePost)) { <a href="mailto:@syv.ePost" target="_top">@syv.ePost</a> } else { <text> </text> } </td> </tr>
This will list all e-mails.
Now I want to make a button that mails to all when clicking it.
I tried doing like this:
@*@foreach (var syv in syvs) { <a href="mailto:@syv.ePost" target="_top">@syv.ePost</a> }*@
But this list all the mail again. I want one link that mails to all. How do I do it?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Mail to all
I want to be able to mailto all user with a link/button.
To display one user mail is @syv.ePost:
This will list all e-mails.
Now I want to make a button that mails to all when clicking it.
I tried doing like this:
But this list all the mail again. I want one link that mails to all. How do I do it?
is working on a reply...