Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / March 2008

Tip: Looking for answers? Try searching our database.

I can't send mail using SMTPClient but Outlook Express can!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Afshar - 15 Mar 2008 13:35 GMT
Hi,

I'm sending mail from .net via SMTPClient but always got "operation
timeout". I use same settings in Outlook Express and OE can send mail!
I previously used a gmail account and I could send mail in .net. When
I switched to use my own email account everything went bad.
My setting that is used in OE is as follow:
Incoming mail(POP3): someserver.com
Outgoing mail(SMTP): someserver.com

account name : *****
Password: ****
My server requires authentication (Use same settings as my incoming
mail server)
SMTP port: 465
SMTP port: 995
both outgoing and incoming servers use SSL

I guess the problem is for:
My server requires authentication (Use same settings as my incoming
mail server)

Afshar
sloan - 15 Mar 2008 14:39 GMT
Check this blog:
http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!138.entry

and you'll see an easier way to switch to and from gmail (ssl) and non ssl
email sending.

1.1 and 2.0 versions.

Code is downloadable.

> Hi,
>
[quoted text clipped - 19 lines]
>
> Afshar

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.