Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

IEmailSender clarification #3928


User avatar
0
Ricavir created

Hi,

I would appreciate your help on following issue :

I'm using IEmailSender to send emails on tenant side (my project is angular2 with .NET 4.6) I'm able to send simple mails without any issue.

But, when adding an attachment (with MailMessage class), the email is received but without attachment... I have no log error about this. Is there something that could block attachments ?

Another issue, is that I'm changing the Sender attribute of MailMessage before sending an email on tenant side; but I'm receiving the email with sender setted in host configuration. How can I change this behavior to have specific sender (different from host setting) ?


3 Answer(s)