Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SMPT to same domain

Posted on 2014-02-14
11
Medium Priority
?
268 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 83

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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Screencast - Getting to Know the Pipeline
Suggested Courses

610 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