Skip to content

Commit

Permalink
More work in support of #464.
Browse files Browse the repository at this point in the history
  • Loading branch information
uncheckederror committed Sep 22, 2024
1 parent 8d0407e commit 1a827d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Messaging/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1892,13 +1892,13 @@ public static async Task<Results<Ok<string>, BadRequest<string>, Ok<ForwardedMes
string messageContent = $"<p>{toForward.Content}</p>";
var myUri = new Uri(client.CallbackUrl);
string fbxClientDomain = myUri.GetLeftPart(System.UriPartial.Authority);
string messageLink = $"<hr/><p>Reply to this message in <a href='{fbxClientDomain}' target='_blank'>Web Texting</a></p>";
string messageContext = $"<p>You've recieved a new message from {toForward.From} to {client.AsDialed} at {toForward.DateReceivedUTC.ToLocalTime()}.</p>";
string messageLink = $"<hr/><p>Reply to this text message in <a href='{fbxClientDomain}' target='_blank'>Web Texting</a> from Accelerate Networks 🚀</p>";
string messageContext = $"<p>You've received a new text message from {toForward.From} to {client.AsDialed} at {toForward.DateReceivedUTC.ToLocalTime()}.</p>";

var email = new EmailMessage
{
PrimaryEmailAddress = client.Email,
Subject = $"New Message from {toForward.From} to {toForward.To}",
Subject = $"New text message from {toForward.From} to {toForward.To}",
MessageBody = $"{messageContent}<div class='moz-signature'>{messageLink}{messageContext}</div>",
};

Expand Down

0 comments on commit 1a827d0

Please sign in to comment.