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 9030061
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T07:23:47+00:00 2026-06-16T07:23:47+00:00

I have a windows application that i am using to send emails. i can

  • 0

I have a windows application that i am using to send emails. i can send an email for any

one to his company mail directly (I am using domino server to send the mail)

for example i can send to test@landmarkgroup.com

but when i send to test@hotmail.com it is giving the following error

Transaction failed. The server response was: Relay rejected for policy reasons.

here is my code

              Dim MyMailMessage As New MailMessage()

               MyMailMessage.From = New MailAddress("test@landmarkgroup.com")

               MyMailMessage.To.Add("harb.nayef@hotmail.com")
               MyMailMessage.Subject = txtSubject.Text
               MyMailMessage.Body = txtBody.Text
              Dim SMTPServer As New SmtpClient("112.12.29.62")

              SMTPServer.Port = 25


              SMTPServer.Send(MyMailMessage)
  • 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-16T07:23:49+00:00Added an answer on June 16, 2026 at 7:23 am

    Yes, it fails because the Domino server has been setup to not accept SMTP relays from unknown sources (to avoid spam).

    Contact the admin of the Domino server so that you can set up Domino to accept relay from machines running your application (if they can be uniquely identified), or from internal hosts (if that’s the case), and/or combined with a SMTP account to login to SMTP.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an App that will send authenticated emails using System.Net.Mail and System.Net.NetworkCredential my
Today we have a windows application that, using an OCX, creates a web page
I have a 32-bit application that must run on a Windows x64 server using
I am using windows application and I have four combo boxes(comboeventname,combosendtype,comboType,comboschedule) in that form....
I have a Qt application in Visual Studio 2005 which is linked using \subsystem:windows such that
I have a Windows application that has 2 Forms . From one form I
I have an application that uses SmtpClient to send E-Mail, but the E-Mails are
I have a windows application, where I am using send keys to navigate from
I an trying to develop a windows application using C# that can play streamed
I have created one Windows Forms application with C# and MySQL (using MySQL Connector

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.