Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can Attach a file to the report? #9

Open
FrancoTampieri opened this issue Feb 12, 2018 · 3 comments
Open

Can Attach a file to the report? #9

FrancoTampieri opened this issue Feb 12, 2018 · 3 comments

Comments

@FrancoTampieri
Copy link

Hi I think that will be usefull attach a file to the report sended by mail.

Regards

Francop

@ravibpatel
Copy link
Owner

@drdran Currently you can't. But it is possible using little modification.

@ravibpatel ravibpatel added this to the 1.5.4 milestone Feb 12, 2018
@PandaWood
Copy link

PandaWood commented Jun 15, 2018

For this feature, you might want to consider zipping the attached file (and then support multiple attached files) - otherwise you might have a lot of trouble fiddling with MIME types for each file type.

This might be a hard decision, because If you choose to zip the files into one attachment, you'll probably want to use an existing zip library, but then you might lose an advantage of this library - having no dependencies?

Anyway, I do this in ExceptionReport.NET using DotNetZip - so feel free to see how I did it.

(I support attaching to Simple.MAPI message as well as SMTP - so the code is slightly more complicated)

@ravibpatel
Copy link
Owner

@PandaWood Thanks for the suggestion. I will definitely look into it. For lightweight zip library, you can check out ZipStorer.

@ravibpatel ravibpatel removed this from the 1.5.4 milestone Jun 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants