Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
My program using asp.net to send email, but my school blocked the smtp port and services. After I see the p2p forums which suggest use web service to send email, have you any suggestion which web site provide web service for sending email? I try to use system.web.mail.mailmessage class to send the email in my program, but also fail. Anyone can help me to solve this problem? I need your help. Thank you
Posted

You can change the SMTP port if you have access to the Exchange Server[^]. And then use it with the port you specified.

I seriously doubt that the school would open strange ports for your usage... but you can give it a shot.
You could also try to bypass by using standard ports that are usually used for other communications, like port 80 which is used for HTTP, port 21 which is used for FTP etc...

Good luck,
Edo
 
Share this answer
 
v2
Comments
Sergey Alexandrovich Kryukov 10-Sep-13 2:38am    
My 5, mostly for serious doubt. I think OP has no serious reasons to avoid SMTP, only because "but also fail".
—SA
Joezer BH 10-Sep-13 2:43am    
Thank you Sergey!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900