![]() |
Mailing Program
Hey everyone I just had a quick question. I just finished writing a very very simple mail client (litterally all it does is send msg's). I was wondering, sometimes when I send mail it goes really quick and appears almost instantly on the receiving server however sometimes it sends quickly and takes longer (about 45 secs) to appear on the server. I'm not complaining about the time it's not important just curious as to why it might do that. Any thoughts?
-Test it with different sized email which doesn't seem to have any impact on it. |
Many things can account for this, including network conditions (takes the mail longer to arrive), server load (takes the server longer to process it), mail content (some servers may apply filters and/or virus scanning of attachments, either of which may slow processing), and any number of other things.
|
I agree with lectricpharaoh. There are a lot of moving parts involved in this process and any one of them could cause a delay.
|
Yeh, it's all pretty much been said. Please can you upload the source? I'd be really, really interested to see it as I've wanted to include mail in one of my programs! I'd give you credit for the small bit that I'd use it for and if it sweeps the nation like I'm hoping it would - we'd both be famous!
|
mattireland, why dont you just read the documentation of the System.Net.Mail namespace and get the satisfaction of doing it yourself?
|
Right, now I know the namespace I will. That's all I really wanted. Thanks!
|
Hey guys! Sorry to invade this thread but why isn't this working?
:
Dim sendto = "matt@mattireland.co.uk"I get an unhandled exception error and it says that the sending has failed. Thanks! |
is your mail server on? As well as does it need authentication? Are you sure you have everything you need?
|
Yeah as PhilBon has just said, you would need to send mail through a mail server - if you dont have your own set-up you would generally send them via your mail provider's server.
Also, alot of servers wont just receive mail from anyone and again as PhilBon mentioned, you generally need to use an Ssl connection. |
How do I set up the mail server? Sorry I'm a bit of a noob at this mail stuff still.
Thanks! |
| All times are GMT -5. The time now is 2:48 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC