Solved

Problem sending mail in ASP.Net C#

Posted on 2014-02-13
4
336 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

Learn new improvements released by Google for Google Calendar. Noted in this article are simple tips and tricks that can make your everyday use of Google Calendar better.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This Micro Tutorial demonstrates in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate the easy use of Gmail embedding images in your email so the recipient of your email can view them in context.

617 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