Rotativa.AspNetCore | Rotativa for Asp.Net Core | Model View Controller library
kandi X-RAY | Rotativa.AspNetCore Summary
kandi X-RAY | Rotativa.AspNetCore Summary
Rotativa for Asp.Net Core. Docs are in the making. Should work almost exactly as Rotativa
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Rotativa.AspNetCore
Rotativa.AspNetCore Key Features
Rotativa.AspNetCore Examples and Code Snippets
Community Discussions
Trending Discussions on Rotativa.AspNetCore
QUESTION
I want to send a (view page) pdf sending by email.but when I trying to add an attachment, I found an error below "Add". for that I can't successfully sending mail with attaching my view pdf. Here is my code:
...ANSWER
Answered 2020-Oct-27 at 08:25Attachments is a MimeMessage property that has no such method Add, so here comes the error. To add the attachments you should create a BodyBuilder object before, with this class you will be able to add new attachments (each one of them as byte array), usign Attachments Property and its Add method, but always related to BodyBuilder, not to MimeMessage.
Please, take a look to the answer given here, as I guess is what you are looking for: .net Core Mailkit send attachement from array
Or check another example here: https://www.taithienbo.com/send-email-with-attachments-using-mailkit-for-net-core/
In addition, you could get Rotativa PDF as byte array usign this code:
QUESTION
Im try to use Rotativa ım follow this guide in start.cs in configure function ım add this code
...ANSWER
Answered 2020-Jan-30 at 23:07Im find a solution like this in statup.cs in configure function add env2 and obsolute
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Rotativa.AspNetCore
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page