I have an updated install from 1.3.2 to 1.4.10. Everything went fine. I also run my own SMTP Server. When registering accounts the email variable in the registration webform doesnt seem to get to the smtp server. Here is a log showing that the RCPT TO is null "<>". The first recipient is the Gallery Admin email. The second recipient is supposed to be the registered users email being relayed. Can anyone shed some light on the matter?
I replaced the actual data for protection.
XX.XX.XX.XX [0498] 13:40:28 Connected
XX.XX.XX.XX [0498] 13:40:28 >>> 220-mail.xxxxxxxxx.com ESMTP GateMan Mail Server v2.11; Wed, 06 Dec 2006 13:40:28 -0600
XX.XX.XX.XX [0498] 13:40:28 <<< EHLO www.xxxxxxxxxx.com
XX.XX.XX.XX [0498] 13:40:28 >>> 250-mail.xxxxxxxxx.com Hello www.xxxxxxxxxx.com [71.244.50.59], pleased to meet you.
XX.XX.XX.XX [0498] 13:40:28 <<< AUTH LOGIN
XX.XX.XX.XX [0498] 13:40:28 >>> 334 VXNlcm5hbWU6
XX.XX.XX.XX [0498] 13:40:28 <<< Y29wcGVybWluZUBhZ2VzdXBwbHkuY29t
XX.XX.XX.XX [0498] 13:40:28 >>> 334 UGFzc3dvcmQ6
XX.XX.XX.XX [0498] 13:40:28 <<< Y29wcGVybWluZQ==
XX.XX.XX.XX [0498] 13:40:28 >>> 235 2.0.0 Authentication successful
XX.XX.XX.XX [0498] 13:40:28 <<< MAIL FROM:<xxxx@xxxxxxxxx.com>
XX.XX.XX.XX [0498] 13:40:28 >>> 250 2.1.0 <xxxx@xxxxxxxxx.com>... Sender ok
XX.XX.XX.XX [0498] 13:40:28 <<< RCPT TO:<xxxx@xxxxxxxxx.com>
XX.XX.XX.XX [0498] 13:40:28 >>> 250 2.1.5 <xxxx@xxxxxxxxx.com>... Recipient ok
XX.XX.XX.XX [0498] 13:40:29 <<< RCPT TO:<>
XX.XX.XX.XX [0498] 13:40:29 >>> 550 5.1.1 <> User unknown; rejecting
XX.XX.XX.XX [0498] 13:40:29 <<< RSET
XX.XX.XX.XX [0498] 13:40:29 >>> 250 2.0.0 Reset state
SYSTEM [0498] 13:40:29 Disconnected
Re-uploading include/mailer.inc.php may help you
I wish it were that simple. I'm at the physical machine. No uploading or downloading necessary.
Can you try a quick code change, include/mailer.inc.php
if (isset($row['user_email'])) $to[] = $row['user_email'];
change that to read:
if (!empty($row['user_email'])) $to[] = $row['user_email'];
Nice catch Nibbler. ;D That did the trick. I appreciate your help. This thread is solved.
Great, fix applied to svn.
I had an issue where the system suddenly stopped sending emails to the admin. Poked around in the forums, found this, it worked!!!
Dig this community - thanks!
This fix worked for me... I did have to take out the SMTP settings in the config for it to work... thanks!