Click here to Skip to main content
15,901,205 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Need HRMS Application Pin
naveen.prasad1525-Nov-17 19:24
naveen.prasad1525-Nov-17 19:24 
GeneralRe: Need HRMS Application Pin
geeta goel6-Nov-17 6:36
geeta goel6-Nov-17 6:36 
AnswerRe: Need HRMS Application Pin
Richard MacCutchan8-May-17 8:53
mveRichard MacCutchan8-May-17 8:53 
AnswerRe: Need HRMS Application Pin
David Mujica8-May-17 9:19
David Mujica8-May-17 9:19 
QuestionProblem converting itextsharp from htmlWorker to xmlWorker Pin
samflex6-May-17 12:33
samflex6-May-17 12:33 
AnswerRe: Problem converting itextsharp from htmlWorker to xmlWorker Pin
Richard Deeming8-May-17 2:06
mveRichard Deeming8-May-17 2:06 
GeneralRe: Problem converting itextsharp from htmlWorker to xmlWorker Pin
samflex9-May-17 7:10
samflex9-May-17 7:10 
GeneralRe: Problem converting itextsharp from htmlWorker to xmlWorker Pin
Richard Deeming10-May-17 0:38
mveRichard Deeming10-May-17 0:38 
samflex wrote:
What should it look like completely?

Exactly as I posted in my previous message. The default constructor for the SmtpClient picks up the settings from the config file, so you don't need to set anything in your code.


samflex wrote:
Our goal is to present user with three options, to send email using gmail, or outlook or yahoo.

In that case, the <mailSettings> element won't work. There isn't an option to load different sets of settings in different scenarios.

I'd still recommend putting the settings in the config file, so that you don't have to recompile your code if they change. But you'll need to store them differently, possibly using a custom configuration section.

How to: Create Custom Configuration Sections Using ConfigurationSection[^]



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: Problem converting itextsharp from htmlWorker to xmlWorker Pin
samflex12-May-17 9:26
samflex12-May-17 9:26 
GeneralRe: Problem converting itextsharp from htmlWorker to xmlWorker Pin
samflex12-May-17 9:02
samflex12-May-17 9:02 
GeneralRe: Problem converting itextsharp from htmlWorker to xmlWorker Pin
Richard Deeming12-May-17 9:15
mveRichard Deeming12-May-17 9:15 
QuestionText in a Div is pushing icon to the next line. How do I stop this? Pin
McTartan3-May-17 11:53
professionalMcTartan3-May-17 11:53 
AnswerRe: Text in a Div is pushing icon to the next line. How do I stop this? Pin
John C Rayan11-May-17 5:47
professionalJohn C Rayan11-May-17 5:47 
GeneralRe: Text in a Div is pushing icon to the next line. How do I stop this? Pin
McTartan12-May-17 9:40
professionalMcTartan12-May-17 9:40 
PraiseRe: Text in a Div is pushing icon to the next line. How do I stop this? Pin
John C Rayan14-May-17 22:24
professionalJohn C Rayan14-May-17 22:24 
QuestionDataGrid with CHECKBOX and RADIOBUTTON in the column. Pin
VinKot27-Apr-17 5:02
VinKot27-Apr-17 5:02 
AnswerRe: DataGrid with CHECKBOX and RADIOBUTTON in the column. Pin
Afzaal Ahmad Zeeshan27-Apr-17 5:33
professionalAfzaal Ahmad Zeeshan27-Apr-17 5:33 
AnswerRe: DataGrid with CHECKBOX and RADIOBUTTON in the column. Pin
User 418025427-Apr-17 11:14
User 418025427-Apr-17 11:14 
QuestionForce Browser to use updated pdf file instead of cache version Pin
Blikkies26-Apr-17 6:51
professionalBlikkies26-Apr-17 6:51 
AnswerRe: Force Browser to use updated pdf file instead of cache version Pin
jkirkerx26-Apr-17 9:37
professionaljkirkerx26-Apr-17 9:37 
GeneralRe: Force Browser to use updated pdf file instead of cache version Pin
Blikkies26-Apr-17 9:43
professionalBlikkies26-Apr-17 9:43 
AnswerRe: Force Browser to use updated pdf file instead of cache version Pin
ZurdoDev26-Apr-17 10:21
professionalZurdoDev26-Apr-17 10:21 
AnswerRe: Force Browser to use updated pdf file instead of cache version Pin
jkirkerx26-Apr-17 12:49
professionaljkirkerx26-Apr-17 12:49 
QuestionRDLC SetPageSettings Pin
D.Manivelan26-Apr-17 4:16
D.Manivelan26-Apr-17 4:16 
QuestionRE-Drop Down List Error Pin
Member 1116162526-Apr-17 2:32
Member 1116162526-Apr-17 2:32 

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.