Click here to Skip to main content
15,886,362 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionSending Mail Pin
benams28-Sep-09 20:13
benams28-Sep-09 20:13 
AnswerRe: Sending Mail Pin
Christian Graus28-Sep-09 20:25
protectorChristian Graus28-Sep-09 20:25 
GeneralRe: Sending Mail Pin
benams28-Sep-09 20:28
benams28-Sep-09 20:28 
GeneralRe: Sending Mail Pin
Christian Graus28-Sep-09 20:31
protectorChristian Graus28-Sep-09 20:31 
AnswerRe: Sending Mail Pin
Abhijit Jana28-Sep-09 20:27
professionalAbhijit Jana28-Sep-09 20:27 
Questionmail sending code in asp.net...plz guide me... Pin
madhura apte28-Sep-09 20:12
madhura apte28-Sep-09 20:12 
AnswerRe: mail sending code in asp.net...plz guide me... Pin
Christian Graus28-Sep-09 20:24
protectorChristian Graus28-Sep-09 20:24 
madhura apte wrote:
can you please help me... its urgent !!!


No, it's not. We actually don't care if you can send mail or not.

madhura apte wrote:
     Dim client As SmtpClient = New SmtpClient("192.168.1.2")
            client.DeliveryMethod = SmtpDeliveryMethod.PickupDirectoryFromIis


This looks messy. Why not just read the server settings and send it in your code ? I mean, your message says 'sent successfully', but that means nothing, you just wrote that code. Could I use this mail server if I wanted ? No logon is required ? That seems odd to me. The whole thing looks convoluted to me. Just write a method that reads the mail settings from your web config and sends an email, then use that helper method throughout your code.

Christian Graus

Driven to the arms of OSX by Vista.

Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

QuestionHow to retain the original value of dropdow? Pin
amittinku28-Sep-09 20:08
amittinku28-Sep-09 20:08 
AnswerRe: How to retain the original value of dropdow? Pin
Christian Graus28-Sep-09 20:19
protectorChristian Graus28-Sep-09 20:19 
GeneralRe: How to retain the original value of dropdow? Pin
amittinku28-Sep-09 22:01
amittinku28-Sep-09 22:01 
Questionascx page in asp.net web application Pin
kunal naik28-Sep-09 19:24
kunal naik28-Sep-09 19:24 
AnswerRe: ascx page in asp.net web application Pin
Christian Graus28-Sep-09 19:42
protectorChristian Graus28-Sep-09 19:42 
AnswerRe: ascx page in asp.net web application Pin
sashidhar28-Sep-09 19:59
sashidhar28-Sep-09 19:59 
AnswerRe: ascx page in asp.net web application Pin
sashidhar28-Sep-09 20:00
sashidhar28-Sep-09 20:00 
QuestionDropdownlist in Webpart Pin
Anil Kumar28-Sep-09 18:59
Anil Kumar28-Sep-09 18:59 
AnswerRe: Dropdownlist in Webpart Pin
Abhijit Jana28-Sep-09 19:05
professionalAbhijit Jana28-Sep-09 19:05 
GeneralRe: Dropdownlist in Webpart Pin
Anil Kumar28-Sep-09 19:14
Anil Kumar28-Sep-09 19:14 
GeneralRe: Dropdownlist in Webpart Pin
Abhijit Jana28-Sep-09 19:22
professionalAbhijit Jana28-Sep-09 19:22 
GeneralRe: Dropdownlist in Webpart Pin
Anil Kumar28-Sep-09 19:52
Anil Kumar28-Sep-09 19:52 
QuestionDropdownlist Pin
satyaaa28-Sep-09 18:48
satyaaa28-Sep-09 18:48 
AnswerRe: Dropdownlist Pin
Abhijit Jana28-Sep-09 19:01
professionalAbhijit Jana28-Sep-09 19:01 
AnswerRe: Dropdownlist Pin
sashidhar28-Sep-09 19:01
sashidhar28-Sep-09 19:01 
Questiontransparent background image Pin
benams28-Sep-09 18:06
benams28-Sep-09 18:06 
AnswerRe: transparent background image Pin
Blikkies28-Sep-09 18:46
professionalBlikkies28-Sep-09 18:46 
AnswerRe: transparent background image Pin
Abhijit Jana28-Sep-09 18:59
professionalAbhijit Jana28-Sep-09 18:59 

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.