Click here to Skip to main content
15,891,828 members
Home / Discussions / C#
   

C#

 
AnswerRe: Moving the multiple files from one to another location Pin
Islorvat11-Aug-10 0:51
Islorvat11-Aug-10 0:51 
GeneralRe: Moving the multiple files from one to another location [modified] Pin
annie_bel11-Aug-10 1:26
annie_bel11-Aug-10 1:26 
GeneralRe: Moving the multiple files from one to another location Pin
annie_bel11-Aug-10 1:56
annie_bel11-Aug-10 1:56 
AnswerRe: Moving the multiple files from one to another location Pin
Luc Pattyn11-Aug-10 1:39
sitebuilderLuc Pattyn11-Aug-10 1:39 
QuestionDesign-Time editor for Custom object stores value into *.resx with $ variable prefix Pin
Bouditch10-Aug-10 23:01
Bouditch10-Aug-10 23:01 
QuestionECG wave extraction Pin
biaali10-Aug-10 22:56
biaali10-Aug-10 22:56 
AnswerRe: ECG wave extraction Pin
riced11-Aug-10 1:01
riced11-Aug-10 1:01 
Question.net remoting Pin
Member 59031010-Aug-10 20:01
Member 59031010-Aug-10 20:01 
Questioninstall sql server 2005 Pin
ram_kesari10-Aug-10 17:26
ram_kesari10-Aug-10 17:26 
AnswerRe: install sql server 2005 Pin
Luc Pattyn10-Aug-10 17:52
sitebuilderLuc Pattyn10-Aug-10 17:52 
AnswerRe: install sql server 2005 Pin
Abhinav S10-Aug-10 18:07
Abhinav S10-Aug-10 18:07 
QuestionHelp: Can't format string using String.Format Pin
roman_s10-Aug-10 9:17
roman_s10-Aug-10 9:17 
AnswerRe: Help: Can't format string using String.Format Pin
Ennis Ray Lynch, Jr.10-Aug-10 9:29
Ennis Ray Lynch, Jr.10-Aug-10 9:29 
AnswerRe: Help: Can't format string using String.Format Pin
OriginalGriff10-Aug-10 9:32
mveOriginalGriff10-Aug-10 9:32 
AnswerRe: Help: Can't format string using String.Format Pin
Luc Pattyn10-Aug-10 9:34
sitebuilderLuc Pattyn10-Aug-10 9:34 
AnswerRe: Help: Can't format string using String.Format Pin
ignrod10-Aug-10 9:42
ignrod10-Aug-10 9:42 
AnswerRe: Help: Can't format string using String.Format Pin
Martin shooster10-Aug-10 10:17
Martin shooster10-Aug-10 10:17 
AnswerRe: Help: Can't format string using String.Format Pin
PIEBALDconsult10-Aug-10 17:24
mvePIEBALDconsult10-Aug-10 17:24 
AnswerRe: Help: Can't format string using String.Format Pin
Luc Pattyn10-Aug-10 17:51
sitebuilderLuc Pattyn10-Aug-10 17:51 
GeneralRe: Help: Can't format string using String.Format Pin
PIEBALDconsult11-Aug-10 3:09
mvePIEBALDconsult11-Aug-10 3:09 
GeneralRe: Help: Can't format string using String.Format Pin
Luc Pattyn11-Aug-10 3:25
sitebuilderLuc Pattyn11-Aug-10 3:25 
GeneralRe: Help: Can't format string using String.Format Pin
PIEBALDconsult11-Aug-10 16:17
mvePIEBALDconsult11-Aug-10 16:17 
QuestionEmail - invalid remote certificate Pin
Running Fool10-Aug-10 8:13
Running Fool10-Aug-10 8:13 
I am writing a program to send email. When I send from my own email accounts everything works! When I send from my company email or any other emails from the company I get the error: “The remote certificate is invalid according to the validation procedure”
The code looks like this:
<br />
mailObj = new SmtpClient("smtp. MyCompany.com", 25);<br />
from = new MailAddress("xxxxxx@MyCompany.com", "Chris H");<br />
AuthInfo = new NetworkCredential(from.Address, "xxxxxxxxxxx");<br />
to = new MailAddress("xxxxxxxx@hotmail.com", "Chris H");<br />
MailMessage mail = new MailMessage(from, to);<br />
mail.Subject = "Testing";<br />
mail.Body = "Hello Everybody";<br />
<br />
mailObj.UseDefaultCredentials = false;<br />
mailObj.EnableSsl = true;<br />
mailObj.Credentials = AuthInfo;<br />
mailObj.Send(mail);<br />


I have noticed that in our Outlook account settings - More Settings - Outgoing server we need to check the My outgoing server (SMTP) requires authentication and "Use same settings as my incoming mail server"

This would make me think my program should be able to get the authentication info need from the incoming mail server but how??

Any words of wisdom would be appreciated.
AnswerRe: Email - invalid remote certificate Pin
Matt Meyer10-Aug-10 9:13
Matt Meyer10-Aug-10 9:13 
AnswerRe: Email - invalid remote certificate Pin
DaveyM6910-Aug-10 11:22
professionalDaveyM6910-Aug-10 11:22 

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.