Click here to Skip to main content
15,908,444 members
Home / Discussions / C#
   

C#

 
AnswerRe: Querying Windpws Task Manager Pin
Expert Coming7-Mar-06 17:07
Expert Coming7-Mar-06 17:07 
QuestionDirectDraw - Layering the Screen Pin
YawgmothIII7-Mar-06 15:38
YawgmothIII7-Mar-06 15:38 
QuestionRecording any Sound Pin
alexander_l7-Mar-06 14:03
alexander_l7-Mar-06 14:03 
AnswerRe: Recording any Sound Pin
Divyang Mithaiwala7-Mar-06 20:55
Divyang Mithaiwala7-Mar-06 20:55 
AnswerRe: Recording any Sound Pin
mav.northwind7-Mar-06 21:52
mav.northwind7-Mar-06 21:52 
QuestionCan call webservice before the form is unloaded(WebApplocation)? Pin
jzb7-Mar-06 13:59
jzb7-Mar-06 13:59 
QuestionTerminal Window Error Pin
mangotj7-Mar-06 12:57
mangotj7-Mar-06 12:57 
AnswerRe: Terminal Window Error Pin
Office Lineman7-Mar-06 13:22
Office Lineman7-Mar-06 13:22 
QuestionMoving and item between two points over time Pin
_awatts7-Mar-06 12:41
_awatts7-Mar-06 12:41 
AnswerRe: Moving and item between two points over time Pin
Guffa7-Mar-06 13:00
Guffa7-Mar-06 13:00 
GeneralRe: Moving and item between two points over time Pin
_awatts8-Mar-06 2:36
_awatts8-Mar-06 2:36 
GeneralRe: Moving and item between two points over time Pin
Guffa8-Mar-06 4:07
Guffa8-Mar-06 4:07 
GeneralRe: Moving and item between two points over time Pin
_awatts8-Mar-06 8:45
_awatts8-Mar-06 8:45 
AnswerRe: Moving and item between two points over time Pin
_awatts9-Mar-06 6:51
_awatts9-Mar-06 6:51 
QuestionSending Email using Hotmail Account Pin
emran8347-Mar-06 12:17
emran8347-Mar-06 12:17 
Hi I have following Code attempting to Send email using my Hotmail Account. I am providing correct user information but I am getting Message "Access Denied", Can you please help me how can I get over this problem.

string postBody = null;

// Dump mail headers.
postBody += "MAIL FROM:<" + from + ">\r\n";
postBody += "RCPT TO:<" + to + ">\r\n";
postBody += "\r\n";
postBody += "From: " + quote + fromName + quote + " <" + from + ">\r\n";
postBody += "To: <" + to + ">\r\n";
postBody += "Subject: " + subject + "\r\n";
postBody += "Date: " + timeStamp + " -0000\n";
postBody += "\r\n";

// Dump mail body.
postBody += body;

XMLHTTP xmlHttp_ = new XMLHTTP();
// Open the connection.
try
{
xmlHttp_.open("POST", sendUrl_, false, "myHotmail@hotmail.com", "myPassword");
//MessageBox.Show(xmlHttp_.statusText);
}
catch (Exception err)
{
MessageBox.Show("Error Openning Send Email : " + err.Message);
}

// Send the request.
xmlHttp_.setRequestHeader("Content-Type", "message/rfc821");
xmlHttp_.send(postBody);
AnswerRe: Sending Email using Hotmail Account Pin
Sean897-Mar-06 13:03
Sean897-Mar-06 13:03 
GeneralRe: Sending Email using Hotmail Account Pin
emran8347-Mar-06 13:16
emran8347-Mar-06 13:16 
GeneralRe: Sending Email using Hotmail Account Pin
Expert Coming7-Mar-06 17:04
Expert Coming7-Mar-06 17:04 
GeneralRe: Sending Email using Hotmail Account Pin
emran8347-Mar-06 19:51
emran8347-Mar-06 19:51 
GeneralRe: Sending Email using Hotmail Account Pin
Expert Coming7-Mar-06 19:56
Expert Coming7-Mar-06 19:56 
GeneralRe: Sending Email using Hotmail Account Pin
emran8348-Mar-06 9:10
emran8348-Mar-06 9:10 
AnswerRe: Sending Email using Hotmail Account Pin
Vasudevan Deepak Kumar7-Mar-06 21:16
Vasudevan Deepak Kumar7-Mar-06 21:16 
QuestionDetecting Hardware Button Press in C# Pin
Flynn Arrowstarr / Regular Schmoe7-Mar-06 10:16
Flynn Arrowstarr / Regular Schmoe7-Mar-06 10:16 
QuestionHighlight GridView Row at runtime Pin
mamatharam7-Mar-06 10:06
mamatharam7-Mar-06 10:06 
AnswerRe: Highlight GridView Row at runtime Pin
shaluhyd7-Mar-06 21:11
shaluhyd7-Mar-06 21:11 

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.