How can set name for from email?

kikme
kikme
248 Points
12 Posts

I'm using amazon AWSSDK.SimpleEmail email service to send email. I want to set the name as well as email address in the from email address.

var message = new Message(subject, body);
var request = new SendEmailRequest(emailModel.From, to, message);
var client = GenerateClient();
var result = await client.SendEmailAsync(request);

Here SendEmailRequest has only source parameter

public SendEmailRequest(string source, Destination destination, Message message);

How we can set the name?

Views: 9761
Total Answered: 2
Total Marked As Answer: 1
Posted On: 06-Aug-2018 00:18

Share:   fb twitter linkedin
Answers
Rahul Maurya
Rahul M...
4916 Points
27 Posts
         

Pass 'from email name' and 'email address' in source parameter as:

emailModel.From = "Example <example@exampleniceone.com>";

And other source code will be same.

Posted On: 07-Aug-2018 01:43
rosefresh
rosefresh
70 Points
0 Posts
         

Try ZOOK Email Backup Software to create backup of emails from Webmail, Cloudmail, cPanel, Web server, to local storage. It is a best way to take email backup of your email account from 85+ online email services.The tool has so simple interface which provides a straightforward solution to download emails, contacts, calendars, etc. from email account.It offers to export emails from email account to PST, EML, MSG, MBOX, EMLX, CSV, PDF, ZIP, DOCX, MHT, RTF, Windows Live Mail, Lotus Notes, Thunderbird, Outlook.com, Gmail, Yahoo, G Suite, Exchange Server, IMAP, Zimbra, Rediffmail, IBM Verse, Amazon WorkMail, IceWarp, etc.It provides 100% safe and secure backups of emails.

Explore More :-  https://www.zooksoftware.com/email/backup/

 

Posted On: 17-Dec-2022 07:23
 Log In to Chat