Forums

Email not being delivered to external mail server

spadam 04 Dec, 2012
Hi,

I am a first time user of Chronoforms and have set up a new form which does everything I want. I tested it with my email address and mail is sent through no problem. When I try to use my client's email address to send the form to the mail is not delivered.

On the website where I am using the form the is an MX record set up to direct all mail sent to the site domain to the client's mail server at his office. Email is being successfully directed and received there.

When I attempt to point the Chronoforms form results at my clients email address the mail is not delivered and I receive an error report back from the mailer(see below). The technician who manages their server believes that the problem is that because his server is authoritative for that domain it will not accept any email coming from the same domain. I am currently only using the Static From and To fields in the form and have tried all manner of From addresses to no avail.

I know this is not strictly a Chronoforms issue as the form is delivering ok to other addresses. i just thought someone might have come across this before and know a solution. If not I think the only solution might be to set up an address on my server to act as a relay to forward the mail to my client.

Thanks in advance for any advice anyone can give.

Adam

-------------------------------------------------------

Returned error message (form contents not included):

Return-path: <XXX@XXX.co.uk>
Received: from XXX.co.uk by XXX.co.uk with local (Exim 4.77)
(envelope-from <XXX@XXX.co.uk>)
id 1TenOj-0001rs-46
for [email]XXX@XXX.co.uk[/email]; Sat, 01 Dec 2012 13:46:25 +0000
To: [email]XXX@XXX.co.uk[/email]
Subject: Xelerate Accounting website enquiry
X-PHP-Originating-Script: 975298:phpmailer.php
Date: Sat, 1 Dec 2012 13:46:25 +0000
From: Adam5 <XXX@XXX.co.uk>
Reply-To: Adam5 <XXX@XXX.co.uk>
Message-ID: <15ef1b923065109ee091d07d0cbd7deb@XXX.co.uk>
X-Priority: 3
X-Mailer: PHPMailer 5.2.1 (http://code.google.com/a/apache-extras.org/p/phpmailer/)
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/html; charset="utf-8"
--------------------------------------------------------------
GreyHead 04 Dec, 2012
Hi Adam,

There's nothing obvious to me. Do you get any error message apart from the Email Headers?

I would expect a server to be able to handle emails from the same domain - though GMail drops them if the To and From addresses are identical.

Bob
spadam 04 Dec, 2012
Hi Bob,

Thanks for your reply - Sorry, missed that bit - here is the error message:
-------------------------------------------------------------------
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

[email]enquiries@XXX.co.uk[/email]
SMTP error from remote mail server after RCPT TO:<enquiries@XXX.co.uk>:
host YYY.YYY.com [YYY.YYY.YYY.YYY]:
550 5.7.1 Unable to relay
---------------------------------------------------------------------

I am currently thinking that it is probably a problem with the setup on the Exchange server and am speaking to the manager to try and find a resolution.

Really loving Chronoforms so far though - and I've only just scratched the surface.
GreyHead 04 Dec, 2012
Hi Adam,

"Unable to relay" is, as your technician suggests, a mismatch between the domain of the From address in the email and the domain that the email appears to be coming from. But looking at the email headers they do seem to match - assuming that the xxx.co.uk parts are all identical :-(

Not sure what to suggest after that I'm afraid.

Bob
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger