Skip to content

Commit

Permalink
Uses Application Title as the sender name
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanparry committed Dec 16, 2015
1 parent 72d598c commit 37d3983
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/BugNET.BLL/Notifications/SmtpMailDeliveryService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ public async Task Send(string recipientEmail, MailMessage message, int? relatedI
{
int at = HostSettingManager.HostEmailAddress.IndexOf("@");
string issueCode = string.Format("+iid-{0}", relatedIssueId.Value);
message.From = new MailAddress(HostSettingManager.HostEmailAddress.Insert(at, issueCode));
message.From = new MailAddress(HostSettingManager.HostEmailAddress.Insert(at, issueCode), HostSettingManager.ApplicationTitle);
}
else
{
message.From = new MailAddress(HostSettingManager.HostEmailAddress);
message.From = new MailAddress(HostSettingManager.HostEmailAddress, HostSettingManager.ApplicationTitle);
}


Expand Down

0 comments on commit 37d3983

Please sign in to comment.