?
Solved

SMPT to same domain

Posted on 2014-02-14
11
Medium Priority
?
267 Views
Last Modified: 2014-03-03
My SMPT will not deliver to my own domain.
My asp.net web app creates an email and sens it to a domain recipient email address but the email just sits in the queue folder. If I change the recipient email to my yahoo account then the email gets delivered no problem.

Would be grateful for any help

Thanks
0
Comment
Question by:Soluga
[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
11 Comments
 
LVL 29

Expert Comment

by:becraig
ID: 39859706
What type of SMTP solution are you using ?

The smtp server built into windows ?

If this is windows can you please provide the event log entries referencing the mail delivery attempt.
0
 
LVL 82

Expert Comment

by:David Johnson, CD, MVP
ID: 39860067
you have to configure exchange to allow smtp traffic from that machiine
0
 
LVL 1

Author Comment

by:Soluga
ID: 39861049
Hi David,

My server is hosted by 1and1 and has run perfectly fine for 3 years. But now I have this problem. Do you think it could be something that 1and1 have done?
0
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
LVL 29

Expert Comment

by:becraig
ID: 39862104
I would personally suggest you investigate this with 1and1 support first.

If you are able to send to external addresses it sounds like your server is operating just fine, your internal domain may be on a 1and1 blacklist (Verify with them).

In any event since your email solution is hosted, check with the host.
0
 
LVL 16

Expert Comment

by:Kamal Khaleefa
ID: 39862385
make sure you add the correct smtp and if credentials needed.

see this example:
   Dim message1 As New MailMessage("myemail@mydomain.com", ToEmail, "Tmy subject", "my text")
                    message1.IsBodyHtml = True

                    Dim emailClient As New SmtpClient("mysmtp")
                    '  Dim basicAuthenticationInfo As _
                    'New System.Net.NetworkCredential("username", "password")

                    '  emailClient.UseDefaultCredentials = False
                    '  emailClient.Credentials = basicAuthenticationInfo
   emailClient.Send(message1)

Open in new window

0
 
LVL 1

Author Comment

by:Soluga
ID: 39862593
I can send to my email domain names from outlook etc and it works just fine. Its just emails generated by my web applications on the server.
I have tried setting the authentication credentials and it does not make any difference.

I have raised the matter with 1and1 but don't seem to be getting anywhere.
0
 
LVL 1

Author Comment

by:Soluga
ID: 39885047
This is what is in the error log. But it does not make sense as the error does not get generated if it is to an email address at an external domain.....

Message delivery to the host 'xxx.xxx.xx.xxx' failed while delivering to the remote domain 'mydomain.com' for the following reason: An SMTP protocol error occurred.
 The SMTP verb which caused the error is 'HELO'.  The response from the remote server is '501 Syntax error in parameters or arguments
0
 
LVL 29

Expert Comment

by:becraig
ID: 39885056
Can you provide the bit of code that sends the email ?
0
 
LVL 1

Author Comment

by:Soluga
ID: 39885244
here is the code from a simple text file I am using, which i drop into the pick up folder to test. If I change the to address to any other apart from my domain emails it gets sent no problem. As soon as I change it to one of my domain emails it just sits in the queue folder.

From: my@yahoo.co.uk
To: me@mydomain.com
Subject: testing SMTP
This is the test message body. Seems to be working.
0
 
LVL 1

Accepted Solution

by:
Soluga earned 0 total points
ID: 39885579
I have created an additional virtual smtp server and added the domain www.mydomain.com and it seems to be working. However it will only send the emails when I re-start the server, when I then send another email it just sits in queue until I do another re-start!
0
 
LVL 1

Author Closing Comment

by:Soluga
ID: 39900011
This solved the problem
0

Featured Post

What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

Question has a verified solution.

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

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…

771 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