Registration Email Variable Is Not Passed To The SMTP Server Registration Email Variable Is Not Passed To The SMTP Server
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Registration Email Variable Is Not Passed To The SMTP Server

Started by X-Centric, December 06, 2006, 09:09:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

X-Centric

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

Sami

‍I don't answer to PM with support question
Please post your issue to related board

X-Centric

I wish it were that simple. I'm at the physical machine. No uploading or downloading necessary.

Nibbler

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'];

X-Centric

Nice catch Nibbler. ;D That did the trick. I appreciate your help. This thread is solved.


oboi

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!

wads24

This fix worked for me... I did have to take out the SMTP settings in the config for it to work... thanks!