Solved

Problem sending mail in ASP.Net C#

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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

There are many add-ons for Google docs, slides and sheets that can be extremely helpful in keeping your files organized and simple to use. Add-ons are installed into your Google docs, slides or sheets through Google's Add-On Store. One of my favorit…
The choice of selecting a perfect productive suite for one’s organization is a critical decision that an IT Manager or a CIO has to make. And when it comes to choosing a cloud-based productivity suite, the choice gets all the more difficult. This is…
This Micro Tutorial will demonstrate how marketers can use the Mobile Emulation Tool in Chrome Developer Tool. This will let you preview your site on any mobile device.
This Micro Tutorial demonstrates how to quickly find related content for YourTango's posts using MozBar Chrome extension.

840 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