MyBB Community Forums
[F] Mail Reply Address: Issue Resolved - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: Archived Bug Reports (https://community.mybb.com/forum-74.html)
+------ Forum: MyBB 1.4.2 (https://community.mybb.com/forum-100.html)
+------ Thread: [F] Mail Reply Address: Issue Resolved (/thread-40396.html)

Pages: 1 2 3


RE: Mail Reply Address - Dennis Tsang - 2008-11-13

Ok try removing that snippet from the file (or commenting it out).


RE: Mail Reply Address - classixiii - 2008-11-13

(2008-11-13, 03:41 AM)DennisTT Wrote: Ok try removing that snippet from the file (or commenting it out).

Ok - removed that snippet and the error is

The mail server does not understand the RCPT TO command

which is the next action.

Could the param being passed to the SMTP server be in the wrong format?
and not, [email protected], or <[email protected]> etc etc.


RE: Mail Reply Address - Dennis Tsang - 2008-11-13

Ok try this:

In inc/mailhandlers/smtp.php, find: (at end of get_data method)
 return $string;

Before it, add:
  file_put_contents('./smtpmaillog.txt', $this->data, FILE_APPEND);

Try to send a mail again, and you should find a smtpmaillog.txt in your MyBB root folder. (You may want to pre-create this file, and CHMOD it 666 so that the server can write to it).


RE: Mail Reply Address - Technoman - 2008-11-13

me to and nothing happened except it says your email default isnt set up to send mail something in a box pops up ( contact us )


RE: Mail Reply Address - Dennis Tsang - 2008-11-13

(2008-11-13, 05:45 AM)technoman Wrote: me to and nothing happened except it says your email default isnt set up to send mail something in a box pops up ( contact us )

This is a separate issue. Please read my response in your thread.


RE: Mail Reply Address - classixiii - 2008-11-13

(2008-11-13, 05:41 AM)DennisTT Wrote: Ok try this:

In inc/mailhandlers/smtp.php, find: (at end of get_data method)
 return $string;

Before it, add:
  file_put_contents('./smtpmaillog.txt', $this->data, FILE_APPEND);

Try to send a mail again, and you should find a smtpmaillog.txt in your MyBB root folder. (You may want to pre-create this file, and CHMOD it 666 so that the server can write to it).

Would you like me to do this on a clean copy of that file or the one that I previously removed the "mail from" code from?

Thanks


RE: Mail Reply Address - Dennis Tsang - 2008-11-13

(2008-11-13, 03:04 PM)classixiii Wrote:
(2008-11-13, 05:41 AM)DennisTT Wrote: Ok try this:

In inc/mailhandlers/smtp.php, find: (at end of get_data method)
 return $string;

Before it, add:
  file_put_contents('./smtpmaillog.txt', $this->data, FILE_APPEND);

Try to send a mail again, and you should find a smtpmaillog.txt in your MyBB root folder. (You may want to pre-create this file, and CHMOD it 666 so that the server can write to it).

Would you like me to do this on a clean copy of that file or the one that I previously removed the "mail from" code from?

Thanks

Clean copy. Sorry I wasn't clear the first time.


RE: Mail Reply Address - classixiii - 2008-11-13

(2008-11-13, 03:04 PM)classixiii Wrote: [quote='DennisTT' pid='271438' dateline='1226554906']
Ok try this:

In inc/mailhandlers/smtp.php, find: (at end of get_data method)
 return $string;

Before it, add:
  file_put_contents('./smtpmaillog.txt', $this->data, FILE_APPEND);

Try to send a mail again, and you should find a smtpmaillog.txt in your MyBB root folder. (You may want to pre-create this file, and CHMOD it 666 so that the server can write to it).

Would you like me to do this on a clean copy of that file or the one that I previously removed the "mail from" code from

Still get the does not understand MAIL FROM error -

Here is the SMTP Log

220-*****.*****.com ESMTP Exim 4.68 #1 Thu, 13 Nov 2008 14:15: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
334
235 Authentication succeeded
501 <admin <steh*****@canno************.com>>: "@" or "." expected after "admin"

Looks like its putting my BB username ahead of the FROM address

Note: I *'d out stuff I didnt want to broadcast..it was logged correctly
Any thing else to try or are we at the end of the road on this one?


RE: Mail Reply Address - Dennis Tsang - 2008-11-14

Sorry I was busy.


RE: Mail Reply Address - classixiii - 2008-11-15

(2008-11-14, 08:05 PM)DennisTT Wrote: Sorry I was busy.

Hey, no problem guy ..I'm on your time ! I just appreciate the help when you can give it.