![]() See - that sets the Reply-To in the userfrom field of the eventdata. The reply-to address is indeed in the header. The text does not perform any function other than information to the user. We have only moved the text to the bottom of the email. ![]() HELP! Even though what I did works perfectly for me, I don't want to modify the core code? I have gmail configured for IMAP in Incoming Mail Configuration. Is it postfix? Do I need to configure it to pickup reply-to from the body of the email and not within the header? Remember, Postfix is what is sending these emails. I wonder why this is happening and what could be the reason behind this bizarre issue. The posts are being posted correclty.(Tested using 4 different users and 4 different email addresses by different providers). $replyaddress (immediately after line 763) and it all seems to work just fine! The reply-to is coming through the way it is supposed to. I added this line: $userfrom->customheaders = 'Reply-To: '. Then i realized, according to some specs online, the reply-to should be present in the header. The reply to was coming through in the notifications.īut the moment I remove the hard-coded email, the reply-to is complete missing in the notifications. I added a dummy plus address format email and it seems to work fine too. Hardcoded $replyaddress variable on line: It seemed to work. Question for Andrew: Why did we move the reply-to email at the bottom of email body and not in the header?Īfter spending 6 hours of troubleshooting time, I just couldn't figure out why the reply-to email was not coming through. UPDATE: After a bit of reviewing the code in /mod/forum/lib.php and testing stuff out, I have a few findings below: And finally, if I configure again the google apps, it works again!!! If I use the google apps account it works and when I just change the username and password for the gmail account (everything else it's ok), then the reply-to field dissappears. email header using a standard account:.email header using a google apps account:.I know the incoming mail processing is working because "Email to Private files" handler works. Google Apps email it's working but if I use a standard account the "reply-to" field dissapears. It's weird beause both email accounts (test one and real one) use gmail servers. īut then, when I tried to make it work with the real mail account I noticed that the "reply-to" field is missing in email header. Using Moodle 2.8.2 I have successfully set up incoming mail for forums using a test mail account.
0 Comments
Leave a Reply. |