Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7814919
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T05:21:25+00:00 2026-06-02T05:21:25+00:00

It seems that when you use SmtpClient class and MailMessage to send emails, everything

  • 0

It seems that when you use SmtpClient class and MailMessage to send emails, everything works fine. And it does send it. However, some servers, such as your business Exchange Server or Gmail.com or whatever services, sometimes reject these emails (because they could be phishing sites or spam sites?)

I’m using this and a lot of places reject the email I believe:

SmtpClient smtp = new SmtpClient
{
 Host = smtpClient,
 Timeout = 40000, // 40 seconds
 DeliveryMethod = SmtpDeliveryMethod.Network
};

How do you work around this? Do you have to use login credentials to some recognized / white-listed server so that it is authorized and trusted email?

I could use something like GMAIL authentication, but my server should be allowed to send emails, it shouldn’t have to rely on gmail.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T05:21:26+00:00Added an answer on June 2, 2026 at 5:21 am

    Long ago there were many servers on the Internet that provided the service delivery of e-mail without asking too many questions about who was using the service.
    Then came the SPAMMERS!.
    A server that was sending mail freely around the world was no longer a benefactor of the internet, but a problem.
    Nowadays it is increasingly difficult to find a server that sends mail on the Internet without asking for credentials.

    Your e-mail server (smtp.yourbusiness.com or whatever you want) does not trust you.
    When you ask it to send an email for you, it wants to know who you are.

    SmtpClient smtp = new SmtpClient  
    smtp.Host = "smtp.yourbusiness.com"; 
    NetworkCredential credentials = new NetworkCredential("your_user_name_on_smtpserver", "your_password_on_smtpserver"); 
    smtp.Credentials = credentials; 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok so my double buffer works fine but it seems that it use a
I have some object classes that use inheritance. It seems that I can only
It seems that when we use form_for @story do |f| then Story has to
Somehow it seems that when I use gotoSimple in the following setup, my data
It seems that MSMQ doesn't use any Database management system to manage messages. How
It seems that in the future, we can just use the non-beta iPhone SDK
I want to use deep zoom in Silverlight, but it seems that the images
I'm trying to use visual studio 2010. But it seems that the .sln file
It seems to me that there are two scenarios in which to use JOINs:
The Salesforce.com API seems to assume that you will always use the app as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.