C# mvc 5 SendEmailAsync与映像
当用户在我的网站上注册时,我正试图发送一封确认电子邮件 C#是—— 从文件系统加载ConfirmRegistration.html文件。那个文件是-C# mvc 5 SendEmailAsync与映像,c#,asp.net-mvc-5,C#,Asp.net Mvc 5,当用户在我的网站上注册时,我正试图发送一封确认电子邮件 C#是—— 从文件系统加载ConfirmRegistration.html文件。那个文件是- <html> <body> <img src="#logo" alt="Logo" align="middle"> <br> <b>Thank you for registering with Example Website.</b> Your acco
<html>
<body>
<img src="#logo" alt="Logo" align="middle">
<br>
<b>Thank you for registering with Example Website.</b> Your account has been created.<br>
<p align ="justify"> <a href="#callbackURL">Click here to confirm and complete the registration process.</a></p>
</body>
</html>
感谢您注册示例网站。您的帐户已创建。
但是我不能让标志出现
有什么特别的事情我需要做,以使该图像出现
另外,我还需要继续使用sendmailasync您必须将其包含在绝对url中。您必须将其包含在绝对url中。
<html>
<body>
<img src="#logo" alt="Logo" align="middle">
<br>
<b>Thank you for registering with Example Website.</b> Your account has been created.<br>
<p align ="justify"> <a href="#callbackURL">Click here to confirm and complete the registration process.</a></p>
</body>
</html>