Click here to Skip to main content
15,892,737 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to delay sending mail in c# Pin
Mycroft Holmes9-Mar-09 21:27
professionalMycroft Holmes9-Mar-09 21:27 
GeneralRe: how to delay sending mail in c# Pin
Ramin Rahimee9-Mar-09 21:35
Ramin Rahimee9-Mar-09 21:35 
GeneralRe: how to delay sending mail in c# Pin
N a v a n e e t h9-Mar-09 21:47
N a v a n e e t h9-Mar-09 21:47 
GeneralRe: how to delay sending mail in c# Pin
Ramin Rahimee9-Mar-09 22:54
Ramin Rahimee9-Mar-09 22:54 
GeneralRe: how to delay sending mail in c# Pin
Christian Graus9-Mar-09 22:02
protectorChristian Graus9-Mar-09 22:02 
GeneralRe: how to delay sending mail in c# Pin
Ramin Rahimee9-Mar-09 22:52
Ramin Rahimee9-Mar-09 22:52 
GeneralRe: how to delay sending mail in c# Pin
Dave Kreskowiak10-Mar-09 1:29
mveDave Kreskowiak10-Mar-09 1:29 
GeneralRe: how to delay sending mail in c# Pin
Rob Philpott9-Mar-09 23:14
Rob Philpott9-Mar-09 23:14 
You send email using the SMTP protocol which is donkey's years old. There is no facility in this protocol to time the sending of mail, you send it to your server, it forwards it on to the next and so on until it gets recieved by the recipient.

The only way email gets delayed is if a server is out of action. Normally when this happens, the previous server in the chain will attempt to resend it at intervals. The sender will normally get information emails saying that it's having difficulty contacting the (maybe redirection) server. Usually after about 48 hours it gives up and returns your mail.

The only way you can do what you're tring to do is by actually doing the send at a later time. If you're SMTP server or the sending computer is turned off then you are stuck and that's the bottom line.

As others suggest either the Windows Scheduler or your own rolled solution are the only options you have. Sorry.

Regards,
Rob Philpott.

GeneralRe: how to delay sending mail in c# Pin
Ramin Rahimee9-Mar-09 23:47
Ramin Rahimee9-Mar-09 23:47 
GeneralRe: how to delay sending mail in c# Pin
Mycroft Holmes9-Mar-09 23:26
professionalMycroft Holmes9-Mar-09 23:26 
GeneralRe: how to delay sending mail in c# Pin
Ramin Rahimee9-Mar-09 23:42
Ramin Rahimee9-Mar-09 23:42 
QuestionA few Excel Questions Pin
MumbleB9-Mar-09 20:42
MumbleB9-Mar-09 20:42 
AnswerRe: A few Excel Questions Pin
Mycroft Holmes9-Mar-09 21:06
professionalMycroft Holmes9-Mar-09 21:06 
QuestionContextMenuStrip shortcuts problem Pin
maryam.saboor9-Mar-09 20:37
professionalmaryam.saboor9-Mar-09 20:37 
AnswerRe: ContextMenuStrip shortcuts problem Pin
Mycroft Holmes9-Mar-09 21:10
professionalMycroft Holmes9-Mar-09 21:10 
QuestionProblem in reading excel from server folder Pin
Krishna Varadharajan9-Mar-09 20:29
Krishna Varadharajan9-Mar-09 20:29 
AnswerRe: Problem in reading excel from server folder Pin
Mycroft Holmes9-Mar-09 21:16
professionalMycroft Holmes9-Mar-09 21:16 
AnswerRe: Problem in reading excel from server folder Pin
Jack Li9-Mar-09 23:06
Jack Li9-Mar-09 23:06 
Questionhow to search a word in word document and capture the immediate next word and insert it into the DB Pin
Ferdin9-Mar-09 19:33
Ferdin9-Mar-09 19:33 
AnswerRe: how to search a word in word document and capture the immediate next word and insert it into the DB Pin
Mycroft Holmes9-Mar-09 21:18
professionalMycroft Holmes9-Mar-09 21:18 
GeneralRe: how to search a word in word document and capture the immediate next word and insert it into the DB Pin
Ferdin9-Mar-09 21:34
Ferdin9-Mar-09 21:34 
GeneralRe: how to search a word in word document and capture the immediate next word and insert it into the DB Pin
Mycroft Holmes9-Mar-09 23:24
professionalMycroft Holmes9-Mar-09 23:24 
QuestionRecursion logic and performance tuning Pin
Mathew Hall9-Mar-09 19:08
Mathew Hall9-Mar-09 19:08 
QuestionKill the DLL Pin
yesu prakash9-Mar-09 18:47
yesu prakash9-Mar-09 18:47 
AnswerRe: Kill the DLL Pin
User 23822929-Mar-09 19:13
User 23822929-Mar-09 19:13 

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.