Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I’m building a sort of encryption app in C# (windows form) and I’m wanting to email the encrypted image data Byte[] as a string in the body to a predetermined email. I’ve got that much, but how could I take that email body as an input for the decryption side of the program to output the image? In short how can I call the body of an email and use it as a variable in the program?

What I have tried:

I haven’t attempted it yet, I’m having trouble finding material on the web about this subject. Thanks for any help!
Posted
Updated 13-Oct-19 6:30am

1 solution

Email - Wikipedia[^] explains the general structure of messages. rfc5322[^] goes into more detail.
 
Share this answer
 
Comments
Ty Lane 13-Oct-19 13:12pm    
That is not a good reference for interacting with gmail smtp server in c# not does it answer my question.
Richard MacCutchan 13-Oct-19 13:20pm    
Your question makes no mention of interacting with gmail SMTP server. Perhaps you need to edit it and explain in more detail exactly what problem you are facing.
Dave Kreskowiak 13-Oct-19 13:47pm    
The quality of the answers you get is directly dictated by the quality of the questions you ask.

With better detail of what you're looking for, come more specific and more accurate answers.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900