Button stylings
This commit is contained in:
@@ -25,7 +25,7 @@ namespace LeafWeb.WebCms.Services
|
||||
private const string ContactSubject = "LeafWeb Contact Message";
|
||||
|
||||
/// <summary>
|
||||
/// Semicolon separated values
|
||||
/// comma separated values
|
||||
/// </summary>
|
||||
private readonly string _adminEmailAddresses;
|
||||
|
||||
@@ -183,12 +183,12 @@ namespace LeafWeb.WebCms.Services
|
||||
public void SendContactEmail(ContactForm contact)
|
||||
{
|
||||
var body =
|
||||
$"via LeafWeb, ${contact.Name} sent the following message from the Contact form." +
|
||||
$"via LeafWeb, {contact.Name} sent the following message from the Contact form." +
|
||||
Environment.NewLine + Environment.NewLine +
|
||||
"Message" +
|
||||
Environment.NewLine + Environment.NewLine +
|
||||
"--------" +
|
||||
Environment.NewLine +
|
||||
Environment.NewLine + Environment.NewLine +
|
||||
contact.Message;
|
||||
|
||||
var message = new MailMessage(_emailFromAddress, _adminEmailAddresses, ContactSubject, body)
|
||||
|
||||
Reference in New Issue
Block a user