saving attachments on server

Discussion for developers using MailEnable.
Post Reply
akashenk
Posts: 4
Joined: Tue Feb 01, 2011 4:41 pm

saving attachments on server

Post by akashenk »

I'm not sure if this is the appropriate forum for this question. I am developing an ASP.NET app for a client of mine who uses MailEnable on their webserver to send emails from various web applications. The client needs some functionality that would allow received email attachments to be saved in a particular directory on the web server. The directory depends on the from and/or to address of the email. Does MailEnable have the ability to automatically save attachment files in particular directories based on the email information? If so, is this avaialble in the free edition or other editions?

If MailEnable is not able to do this, does anyone know of a 3rd party software solution that could interact with MailEnable to allow the saving of email attachments in partiuclar directories on the server?

Thanks!

johnd34
Posts: 73
Joined: Thu Jul 29, 2004 10:43 am
Location: UK

Re: saving attachments on server

Post by johnd34 »

Another challange for code in the MTA

You wuold need code to run in the MTA

The email comes as one file so you will need to 'take it apart' to extract the attachements.

John
John D
JD Projects

Developer of E-Mailing Systems
West of England
Check out our email service built on mailenable
www.proserviceemail.co.uk
www.jdprojects.co.uk
www.smarterweb.co.uk

akashenk
Posts: 4
Joined: Tue Feb 01, 2011 4:41 pm

Re: saving attachments on server

Post by akashenk »

I am a .NET developer and don't have any experience coding for MailEnable. Can you point me to a resource discussing what would be necessary to do this? Thanks.

johnd34
Posts: 73
Joined: Thu Jul 29, 2004 10:43 am
Location: UK

Re: saving attachments on server

Post by johnd34 »

Sorry.

I never touch .net
But if you follow what I did on php, you need a library that will separate the parts of the email into header and attachements.

I only use php and coldfusion, although I will have to convert my app to VB sometime to increase the throughput.

John
John D
JD Projects

Developer of E-Mailing Systems
West of England
Check out our email service built on mailenable
www.proserviceemail.co.uk
www.jdprojects.co.uk
www.smarterweb.co.uk

akashenk
Posts: 4
Joined: Tue Feb 01, 2011 4:41 pm

Re: saving attachments on server

Post by akashenk »

what did you do in php?

ravinator
Posts: 5
Joined: Sun May 05, 2013 3:38 am

Re: saving attachments on server

Post by ravinator »

hi, did you find a solution for this? I'm having the same scenario

lecabri
Posts: 2
Joined: Wed Aug 07, 2013 5:59 pm

Re: saving attachments on server

Post by lecabri »

Hello,

Did you find something? I have exactly the same issue here.

Any solution using vb.net or C# is more than welcome,

Thank you

Martin

lecabri
Posts: 2
Joined: Wed Aug 07, 2013 5:59 pm

Re: saving attachments on server

Post by lecabri »

Just to let you know that I finally used chilkat dll and vb.net application to solve the problem.

Works fast and fine :-)

M.

Post Reply