c# code to convert actual email into PDF

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
Nisha
User
Posts: 43
Joined: Tue May 22, 2018 9:31 am

c# code to convert actual email into PDF

Post by Nisha »

Hello Team,

We are a developing a windows application that will convert an email into PDF which should include the body and subject lines. Hence do you have any sample c# code that would help me fulfill this requirement.
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: c# code to convert actual email into PDF

Post by Sasha - Tracker Dev Team »

Hello Nisha,

You will have to implement your own Import Converter and then use it for converting the e-mail format. Here's a sample on this one:
https://github.com/tracker-software/PDF ... tConverter
PS: We won't be translating this to C# as it is logical and obvious.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Nisha
User
Posts: 43
Joined: Tue May 22, 2018 9:31 am

Re: c# code to convert actual email into PDF

Post by Nisha »

Hi Alex,

Can you please grant me access to download this sample.
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: c# code to convert actual email into PDF

Post by Sasha - Tracker Dev Team »

Hello Nisha,

Everyone has an access to download this sample. You will have to download a full git project though:
https://github.com/tracker-software/PDF ... DKExamples

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Nisha
User
Posts: 43
Joined: Tue May 22, 2018 9:31 am

Re: c# code to convert actual email into PDF

Post by Nisha »

Hi Alex,

I want to convert email into PDF without UI interaction. Hence will these sample work ?
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: c# code to convert actual email into PDF

Post by Sasha - Tracker Dev Team »

Hello Nisha,

Of course - the Import Converter is registered in the IPXV_Inst - no IPXV_Control is required.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Nisha
User
Posts: 43
Joined: Tue May 22, 2018 9:31 am

Re: c# code to convert actual email into PDF

Post by Nisha »

Thanks Alex
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: c# code to convert actual email into PDF

Post by Sasha - Tracker Dev Team »

:)
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply