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
Currently I'm using Umbraco 9 and trying to send mail using Umbraco Mail.
EmailMessage acknowledgementMessage = new EmailMessage(_globalSettings.Smtp.From, emailTo.ToArray(), ccEmail.ToArray(), bccEmail.ToArray(), replyToEmail.ToArray(), "Thank you for contacting", userTemplate, true, attachments); await _emailSender.SendAsync(acknowledgementMessage, emailType: "Contact");
I got the functions working, but the email doesn't have sender name.
Is there a way I could change the name of the email sender.
Thanks in advance.
The sender is automatically set to the from address, you can't change that behavior using the IEmailSender and EmailMessage
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Change sender name in EmailMessage
Currently I'm using Umbraco 9 and trying to send mail using Umbraco Mail.
I got the functions working, but the email doesn't have sender name.
Is there a way I could change the name of the email sender.
Thanks in advance.
The sender is automatically set to the from address, you can't change that behavior using the IEmailSender and EmailMessage
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.