Current time: 04-17-2014, 04:02 AM Hello There, Guest! (LoginRegister)


 
Thread Rating:
  • 5 Votes - 4.2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Mail Reply Address: Issue Resolved
11-16-2008, 08:47 AM (This post was last modified: 11-16-2008 08:49 AM by Ryan Gordon.)
Post: #21
RE: Mail Reply Address
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

PHP Code:
$from "{$mybb->user['username']} <{$mybb->user['email']}>"

and replace with

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

Visit this user's website Find all posts by this user
11-17-2008, 03:51 AM
Post: #22
RE: Mail Reply Address
(11-16-2008 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

PHP Code:
$from "{$mybb->user['username']} <{$mybb->user['email']}>"

and replace with

PHP Code:
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!
Find all posts by this user
11-17-2008, 05:55 PM
Post: #23
[F] Mail Reply Address: Issue Resolved
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group
Visit this user's website Find all posts by this user
11-17-2008, 07:25 PM
Post: #24
RE: [F] Mail Reply Address: Issue Resolved
Thanks Again...

There were actually (2) separate issues fixed here.
PHP mail and SMTP mail

Perhaps it would be helpful to rename the thread so other people searching for this fix could find it easier ?

Just a thought !
Find all posts by this user


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication