C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » ASP.NET »

how SMTP port is set ?


Posted Date: 09 Oct 2008      Posted By: kannanksk      Member Level: Silver     Points: 1   Responses: 2



hi Friends,

The coding for Sending mail through application is working fine in local host, but not fully working in server.

in server, the following line error will occur.

SmtpMail.Send("elibrary@numericups.com", emailtxt.Text, " Activation code", strbodytxt)


ERROR : The "SendUsing" configuration value is invalid.

like that appear.

So I need to configure the SMTP server.

Default SMTP port is 25. But in my company for security purpose they set the value for SMTP port as, For Example (111).


Where should i configure the SMTP in my application, plz help me......

Urgent issue.

Note:FYI--> the code is working only if the outlook is configured in the system.


Regards,
k.s.kannan





Responses

Author: Miss Meetu Choudhary    09 Oct 2008Member Level: DiamondRating: 2 out of 52 out of 5     Points: 4

in your application where we use set SMTP port there you can set your port...

please refer my post

http://www.dotnetspider.com/resources/21608-Sending-Email-Through-ASP-NET-using-C.aspx


--
Thanks and regards
Meetu Choudhary
-
rate the post if it helps you

Thanks and Regards
Miss Meetu Choudhary (Site Coordinator)
Go Green Save Green
My Profile on Google



Author: Mathew Philip    09 Oct 2008Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

Hello,

you have to set the SMTP server name, port number properly

Please gothrough the settings and corerect it.

Regards
Mathew



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : online Examination reqiurement documentation
Previous : Calender
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use