Solved

Problem sending mail in ASP.Net C#

Posted on 2014-02-13
4
324 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Working with spreadsheets can be a daunting task, especially when having to deal with large amounts of data. All you see are rows and rows of numbers and soon your eyes begin to glaze over. Take advantage of the tools in Google Sheets to create prof…
Learn about cloud computing and its benefits for small business owners.
This Micro Tutorial demonstrates how to create custom reports and the secrets of determine the metrics and dimensions for your data that works best with your needs.
This Micro Tutorial will demonstrate common damaging and frequent mistakes I see in most analytic audits. Most of them are campaign tagging mistakes, so this video will break it down into simple steps.

777 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