Click here to Skip to main content
15,887,683 members
Home / Discussions / C#
   

C#

 
AnswerRe: What is SMTP server? Pin
Heath Stewart12-Feb-04 5:02
protectorHeath Stewart12-Feb-04 5:02 
AnswerRe: What is SMTP server? Pin
Kentamanos12-Feb-04 8:57
Kentamanos12-Feb-04 8:57 
GeneralSelecting a specificTabPage... Pin
profoundwhispers12-Feb-04 4:30
profoundwhispers12-Feb-04 4:30 
GeneralRe: Selecting a specificTabPage... Pin
Heath Stewart12-Feb-04 4:52
protectorHeath Stewart12-Feb-04 4:52 
GeneralNull Pointer COM error - StrRetToStr Pin
Tristan Rhodes12-Feb-04 4:16
Tristan Rhodes12-Feb-04 4:16 
GeneralRe: Null Pointer COM error - StrRetToStr Pin
Nick Parker12-Feb-04 6:19
protectorNick Parker12-Feb-04 6:19 
GeneralHTML EMail with embedded images Pin
Braulio Dez12-Feb-04 4:14
Braulio Dez12-Feb-04 4:14 
GeneralRe: HTML EMail with embedded images Pin
Heath Stewart12-Feb-04 4:48
protectorHeath Stewart12-Feb-04 4:48 
This is done using MIME (Multipurpose Internet Mail Extensions). You should first understand how SMTP works and how basic email messages are formatted. It's similar in concept to HTTP, in that you provide headers, skip a line, and begin your content. MIME adds content types, including multipart which allows you to include text, html, images, and more. Image should, of course, be encoded as text (typically base64-encoded, but could be anything so long as clients support it).

For some information about MIME, you can google. There is a specific section on MSDN, MIME Extensions to Internet Mail[^] (kinda of redundant, but oh well) that also includes a sample of a MIME message. It also includes information on many common types used in MIME messages, but you can use anything so long as it can be interpreted by the email client (if it isn't, only the parts of the email that are understood are displayed).

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: HTML EMail with embedded images Pin
Mazdak12-Feb-04 5:56
Mazdak12-Feb-04 5:56 
GeneralRe: HTML EMail with embedded images Pin
Nick Parker12-Feb-04 6:23
protectorNick Parker12-Feb-04 6:23 
GeneralRe: HTML EMail with embedded images Pin
Heath Stewart12-Feb-04 8:17
protectorHeath Stewart12-Feb-04 8:17 
GeneralHelp to TabControl / TabPage Pin
saabbaer12-Feb-04 4:03
saabbaer12-Feb-04 4:03 
GeneralRe: Help to TabControl / TabPage Pin
Heath Stewart12-Feb-04 4:13
protectorHeath Stewart12-Feb-04 4:13 
GeneralRe: Help to TabControl / TabPage Pin
saabbaer12-Feb-04 6:45
saabbaer12-Feb-04 6:45 
Questionhow to get cpu usage rate realtimely using C# Pin
yu-yu12-Feb-04 3:33
yu-yu12-Feb-04 3:33 
AnswerRe: how to get cpu usage rate realtimely using C# Pin
Heath Stewart12-Feb-04 4:10
protectorHeath Stewart12-Feb-04 4:10 
GeneralRe: how to get cpu usage rate realtimely using C# Pin
yu-yu12-Feb-04 13:01
yu-yu12-Feb-04 13:01 
GeneralXmlTextReader with a NetworkStream causes problems Pin
Borgbjerg11-Feb-04 23:00
Borgbjerg11-Feb-04 23:00 
GeneralRe: XmlTextReader with a NetworkStream causes problems Pin
Heath Stewart12-Feb-04 4:04
protectorHeath Stewart12-Feb-04 4:04 
GeneralRe: XmlTextReader with a NetworkStream causes problems Pin
Borgbjerg12-Feb-04 4:30
Borgbjerg12-Feb-04 4:30 
GeneralRe: XmlTextReader with a NetworkStream causes problems Pin
Heath Stewart12-Feb-04 4:42
protectorHeath Stewart12-Feb-04 4:42 
GeneralGrant permission to access the Msysobjects Pin
Daminda11-Feb-04 21:18
Daminda11-Feb-04 21:18 
GeneralRe: Grant permission to access the Msysobjects Pin
Heath Stewart12-Feb-04 3:56
protectorHeath Stewart12-Feb-04 3:56 
GeneralImage into a database Pin
bengolong11-Feb-04 20:42
bengolong11-Feb-04 20:42 
GeneralRe: Image into a database Pin
Mazdak11-Feb-04 22:43
Mazdak11-Feb-04 22:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.