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

Find the file name of the email #165

Open
X-GeneIT opened this issue Sep 4, 2018 · 0 comments
Open

Find the file name of the email #165

X-GeneIT opened this issue Sep 4, 2018 · 0 comments

Comments

@X-GeneIT
Copy link

X-GeneIT commented Sep 4, 2018

I'm using MvcMailer to save emails to a specified directory locally in my asp.net mvc web application. However I would like to save the file name (e.g. 90b871cd-038f-400a-b4d7-01f87e8c3c26.eml) of the email in the database which will later be accessed using another exe to send emails from the pick up folder.
var mail = Mailer.Example_Mail() mail.To.Add("some@somedomain.com"); mail.Send();

<smtp from="some@somedomain.com" deliveryMethod="SpecifiedPickupDirectory"> <network host="localhost" /> <specifiedPickupDirectory pickupDirectoryLocation="c:\temp\" /> </smtp>

Could you please advise me on how to retrieve the file name from the mail object?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant