Click here to Skip to main content
15,915,019 members
Home / Discussions / C#
   

C#

 
QuestionSend Mail Without Using SMTP Server Pin
Sushant Duggal11-Jun-06 20:18
Sushant Duggal11-Jun-06 20:18 
AnswerRe: Send Mail Without Using SMTP Server Pin
leppie11-Jun-06 20:29
leppie11-Jun-06 20:29 
GeneralRe: Send Mail Without Using SMTP Server Pin
Sushant Duggal11-Jun-06 20:32
Sushant Duggal11-Jun-06 20:32 
GeneralRe: Send Mail Without Using SMTP Server Pin
stancrm11-Jun-06 20:36
stancrm11-Jun-06 20:36 
GeneralRe: Send Mail Without Using SMTP Server Pin
Sushant Duggal11-Jun-06 20:39
Sushant Duggal11-Jun-06 20:39 
GeneralRe: Send Mail Without Using SMTP Server Pin
Sushant Duggal12-Jun-06 0:55
Sushant Duggal12-Jun-06 0:55 
GeneralRe: Send Mail Without Using SMTP Server Pin
Dan Neely12-Jun-06 2:09
Dan Neely12-Jun-06 2:09 
GeneralRe: Send Mail Without Using SMTP Server Pin
Mr. VB.NET12-Jun-06 18:32
Mr. VB.NET12-Jun-06 18:32 
To do this in RAW code, you would contact the mail server via a socket connention, you will have to authenticate. Then you send the email header which is simple, then you send the content. That's it.

Read up on SMTP protocol.

The program psuedo code

Socket s = new Socket(emailserver, port);
s.open(); // starts the session
s.send(userid_password); // signs you in
// next create your email header it starts with something like ehelo or helo
// Then tell it the type of mail you are sending Text, html etc.
// Then send it.

GeneralRe: Send Mail Without Using SMTP Server Pin
Sushant Duggal13-Jun-06 1:49
Sushant Duggal13-Jun-06 1:49 
GeneralRe: Send Mail Without Using SMTP Server Pin
Mr. VB.NET13-Jun-06 12:43
Mr. VB.NET13-Jun-06 12:43 
QuestionUrgent reply required ,please Pin
Nafiseh Salmani11-Jun-06 20:10
Nafiseh Salmani11-Jun-06 20:10 
AnswerRe: Urgent reply required ,please Pin
NaNg1524111-Jun-06 20:17
NaNg1524111-Jun-06 20:17 
QuestionProperty Grid Pin
ideru11-Jun-06 19:58
ideru11-Jun-06 19:58 
QuestionSearching Text in MS Word using c# Pin
panks_r11-Jun-06 19:52
panks_r11-Jun-06 19:52 
QuestionGetting Output file from EXE Pin
mikeyhardingboyo11-Jun-06 17:27
mikeyhardingboyo11-Jun-06 17:27 
AnswerRe: Getting Output file from EXE Pin
Mr. VB.NET12-Jun-06 18:35
Mr. VB.NET12-Jun-06 18:35 
QuestionAlgorithm for searching for multiple patterns in a string? Pin
Psytherium11-Jun-06 15:05
Psytherium11-Jun-06 15:05 
QuestionUML [modified] Pin
TheBeginner7711-Jun-06 14:06
TheBeginner7711-Jun-06 14:06 
AnswerRe: UML Pin
Stefan Troschuetz11-Jun-06 23:08
Stefan Troschuetz11-Jun-06 23:08 
QuestionHow can draw a line like this Pin
zhok11-Jun-06 13:29
zhok11-Jun-06 13:29 
AnswerRe: How can draw a line like this Pin
Jun Du11-Jun-06 15:34
Jun Du11-Jun-06 15:34 
AnswerRe: How can draw a line like this [modified] Pin
rah_sin11-Jun-06 19:36
professionalrah_sin11-Jun-06 19:36 
QuestionConvert C++ typedef to C# Pin
Bill Richards11-Jun-06 12:15
Bill Richards11-Jun-06 12:15 
QuestionCommand line tool for publishing an app similiar to ClickOnce? Pin
Raffi Basmajian11-Jun-06 12:03
Raffi Basmajian11-Jun-06 12:03 
AnswerRe: Command line tool for publishing an app similiar to ClickOnce? Pin
leppie11-Jun-06 20:27
leppie11-Jun-06 20:27 

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.