EmailSender email = new EmailSender {
EmailAdresNaar = "HERE",
Onderwerp = "Test email",
Bericht = "<b>Dit is een test</b>"
+ "<i>cursief kan ook.</i>."
};
email.SendEmail();
我如何在 HERE 所在的位置放置一个字符串,并在其中放置一个字符串 dat:
<div class="editor-label">
Email
</div>
<div class="editor-field">
@Html.EditorFor(model => model.Klant.email)
@Html.ValidationMessageFor(model => model.Klant.email)
<input type="submit" value="Verstuur" />
</div>