Solved

SMPT to same domain

Posted on 2014-02-14
11
262 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
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 79

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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

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…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 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