Wrox Programmer Forums
|
ASP.NET 1.x and 2.0 Application Design Application design with ASP.NET 1.0, 1.1, and 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.x and 2.0 Application Design section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 26th, 2004, 09:55 PM
Registered User
 
Join Date: Jan 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default the email of asp.net

I have a problem of using asp.net to send email. My school have blocked the smtp port and service to send email, so I can't write a asp.net program to automatically send email, Can anybody help to solve this problem? Can asp.net using http method to send email, if yes, how to write the code?

 
Old March 27th, 2004, 11:04 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Did you try the System.Web.Mail.MailMessage class, and that was blocked? Can you try specifying a different SMTP address, such as your personal account or something else to send through? It will use it to send, but you can still use the main account to receive emails through.
 
Old March 28th, 2004, 12:58 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

HTTP is HTTP. It is not SMTP.

I have this problem when I develop at home. My broadband provider blocks SMTP requests to addresses outside their network. So all I need to do is use the provider's SMTP server. They allow SMTP request to there SMTP server from within their network.

I imagine that your school might be similar so you might want to try that. Otherwise, you should contact the schools network administrator(s) and tell them their so-called "security feature" is impeeding on your education. ;)

Peter
------------------------------------------------------
Work smarter, not harder.
 
Old March 28th, 2004, 09:53 AM
Authorized User
 
Join Date: Jan 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

or just create a webservice outside the school zone that allows you to send emails and build an application to link to it.

Just a thought!






Similar Threads
Thread Thread Starter Forum Replies Last Post
Email in ASP.NET Manoj Bisht ASP.NET 1.0 and 1.1 Professional 1 September 28th, 2007 07:57 AM
How to Sending an email in asp.net 2.0 using C# Bashu C# 2005 4 August 14th, 2007 03:29 AM
Email in asp.net asif_sharif ASP.NET 1.0 and 1.1 Professional 4 September 21st, 2006 07:31 AM
Email in asp.net asif_sharif ASP.NET 1.0 and 1.1 Basics 0 January 3rd, 2006 11:48 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.