Solved

Problem sending mail in ASP.Net C#

Posted on 2014-02-13
4
319 Views
Last Modified: 2014-11-12
Hi,

I am developing web application using ASP.Net (C#) in which i have designed a registration form. Now if any one registers himself an automated mail with automated password is sent to his/her mail address.

For sending mail, i have created one mail account in gmail and configured it in sending mail using SMTP.

Now the problem, is if on a single day, say 500 users registers on the site, then my mail account is getting blocked for 24 hours. and users is not getting mail in to their mail account.

How can i solve this problem,

Please kindly help with sample code and its description.

thanks
Ronak
0
Comment
Question by:ronipats
  • 3
4 Comments
 
LVL 18

Expert Comment

by:Jerry Miller
ID: 39856500
Your website host doesn't have email addresses available or are you on your own servers?
0
 
LVL 18

Expert Comment

by:Jerry Miller
ID: 39856508
I create something like registration@yourdomainname on the web host and use the web host's smtp servers.
0
 

Author Comment

by:ronipats
ID: 39858480
i have my own server.
0
 
LVL 18

Accepted Solution

by:
Jerry Miller earned 500 total points
ID: 39859833
Can't you configure SMTP on your web server then? I believe that you could send it as if it is coming from the gmail account so they would have a reply to address.

http://www.vsysad.com/2012/04/setup-and-configure-smtp-server-on-windows-server-2008-r2/
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
With voice direction tools, various map viewing styles, the ability to get directions for different means of transportation and great service, Google Maps is simply one of the best navigations app in the market.    However, over the past year, an …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
By using UNIQUE function in Google Sheets, you can get around removing duplicates like in Microsoft Excel.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now