Click here to Skip to main content
15,918,041 members
Home / Discussions / C#
   

C#

 
Questionhow to play video from stream ? Pin
hdv21219-Jan-07 7:44
hdv21219-Jan-07 7:44 
QuestionRe: how to play video from stream ? Pin
calabe22-Jan-07 22:29
calabe22-Jan-07 22:29 
QuestionAuthorization Problem Pin
Semion_N19-Jan-07 6:56
Semion_N19-Jan-07 6:56 
AnswerRe: Authorization Problem Pin
led mike19-Jan-07 7:20
led mike19-Jan-07 7:20 
GeneralRe: Authorization Problem Pin
Semion_N19-Jan-07 7:37
Semion_N19-Jan-07 7:37 
GeneralRe: Authorization Problem Pin
Abisodun19-Jan-07 8:06
Abisodun19-Jan-07 8:06 
GeneralRe: Authorization Problem Pin
Semion_N19-Jan-07 8:39
Semion_N19-Jan-07 8:39 
GeneralRe: Authorization Problem Pin
Abisodun20-Jan-07 3:26
Abisodun20-Jan-07 3:26 
The following worked for my ISP. mail.bellsouth.net and 25 are the SMTP server name and outgoing port number respectively.

private void btnTestEmail_Click(object sender, EventArgs e)
{

try
{
using (MailMessage message = new MailMessage(myEmail, myEmail, "subject1", "body1"))
{

SmtpClient mailClient = new SmtpClient("mail.bellsouth.net");

mailClient.UseDefaultCredentials = false;
CredentialCache myCache = new CredentialCache();

myCache.Add("mail.bellsouth.net", 25, "Basic", new NetworkCredential(myUserName, myPassword));

mailClient.Credentials = myCache;

mailClient.Send(message);
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}

Good Luck.
AnswerRe: Authorization Problem Pin
Semion_N19-Jan-07 8:47
Semion_N19-Jan-07 8:47 
GeneralRe: Authorization Problem Pin
Dan Neely19-Jan-07 8:55
Dan Neely19-Jan-07 8:55 
GeneralRe: Authorization Problem Pin
Semion_N19-Jan-07 9:11
Semion_N19-Jan-07 9:11 
GeneralRe: Authorization Problem Pin
Rob Graham19-Jan-07 9:46
Rob Graham19-Jan-07 9:46 
GeneralRe: Authorization Problem Pin
Dan Neely19-Jan-07 9:50
Dan Neely19-Jan-07 9:50 
QuestionCan one XML file hold more than one C# object? Pin
TrooperIronMan19-Jan-07 6:42
TrooperIronMan19-Jan-07 6:42 
AnswerRe: Can one XML file hold more than one C# object? Pin
led mike19-Jan-07 7:10
led mike19-Jan-07 7:10 
GeneralRe: Can one XML file hold more than one C# object? Pin
TrooperIronMan19-Jan-07 8:15
TrooperIronMan19-Jan-07 8:15 
GeneralRe: Can one XML file hold more than one C# object? Pin
TrooperIronMan19-Jan-07 13:02
TrooperIronMan19-Jan-07 13:02 
Questionshortcutkey Pin
fmardani19-Jan-07 6:13
fmardani19-Jan-07 6:13 
AnswerRe: shortcutkey Pin
Marc Clifton19-Jan-07 6:21
mvaMarc Clifton19-Jan-07 6:21 
GeneralRe: shortcutkey Pin
Luc Pattyn19-Jan-07 8:37
sitebuilderLuc Pattyn19-Jan-07 8:37 
GeneralRe: shortcutkey Pin
Marc Clifton19-Jan-07 9:26
mvaMarc Clifton19-Jan-07 9:26 
QuestionHow can I get the % CPU usage Pin
robert11019-Jan-07 5:07
robert11019-Jan-07 5:07 
AnswerRe: How can I get the % CPU usage Pin
Guffa19-Jan-07 5:26
Guffa19-Jan-07 5:26 
AnswerRe: How can I get the % CPU usage Pin
Marc Clifton19-Jan-07 5:42
mvaMarc Clifton19-Jan-07 5:42 
AnswerRe: How can I get the % CPU usage Pin
robert11019-Jan-07 11:06
robert11019-Jan-07 11:06 

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.