Thread Rating:
  • 5 Vote(s) - 4.2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Mail Reply Address: Issue Resolved
#22
(2008-11-16, 08:47 AM)Ryan Gordon Wrote: classixiii, do those SMTP errors occur when you are sending a thread or emailing a user?

If so, can you try this patch?

in both member.php and sendthread.php find

$from = "{$mybb->user['username']} <{$mybb->user['email']}>";

and replace with

if($mybb->settings['mail_handler'] == 'smtp')
{
	$from = $mybb->user['email'];
}
else
{
	$from = "{$mybb->user['username']} <{$mybb->user['email']}>";
}

The problem was both in sending a thread and emailing a user.

After making the above changes, several test mails were sent received with no error in the system email log.

Here is a paste from the SMTP log

235 Authentication succeeded
250 OK
250 Accepted
354 Enter message, ending with "." on a line by itself
250 OK id=1L1udy-0001BM-8N
220-*****.*****.com ESMTP Exim 4.68 #1 Sun, 16 Nov 2008 21:25:28 -0600
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
250-*****.*****.com Hello mail.miurareps.net [**.**.***.**]
250-SIZE 52428800
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP


Thanks for all the help!


Messages In This Thread
RE: Mail Reply Address - by Dennis Tsang - 2008-11-12, 08:34 PM
RE: Mail Reply Address - by classixiii - 2008-11-12, 08:38 PM
RE: Mail Reply Address - by Matt - 2008-11-12, 08:40 PM
RE: Mail Reply Address - by Dennis Tsang - 2008-11-12, 08:41 PM
RE: Mail Reply Address - by classixiii - 2008-11-12, 08:51 PM
RE: Mail Reply Address - by Matt - 2008-11-12, 08:53 PM
RE: Mail Reply Address - by classixiii - 2008-11-12, 09:19 PM
RE: Mail Reply Address - by Dennis Tsang - 2008-11-12, 11:50 PM
RE: Mail Reply Address - by classixiii - 2008-11-13, 03:11 AM
RE: Mail Reply Address - by Dennis Tsang - 2008-11-13, 03:41 AM
RE: Mail Reply Address - by classixiii - 2008-11-13, 04:14 AM
RE: Mail Reply Address - by Dennis Tsang - 2008-11-13, 05:41 AM
RE: Mail Reply Address - by classixiii - 2008-11-13, 03:04 PM
RE: Mail Reply Address - by classixiii - 2008-11-13, 08:25 PM
RE: Mail Reply Address - by Technoman - 2008-11-13, 05:45 AM
RE: Mail Reply Address - by Dennis Tsang - 2008-11-13, 05:46 AM
RE: Mail Reply Address - by Dennis Tsang - 2008-11-13, 05:14 PM
RE: Mail Reply Address - by Dennis Tsang - 2008-11-14, 08:05 PM
RE: Mail Reply Address - by classixiii - 2008-11-15, 08:36 PM
RE: Mail Reply Address - by Ryan Gordon - 2008-11-16, 08:47 AM
RE: Mail Reply Address - by classixiii - 2008-11-17, 03:51 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)