vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Email rejections due to DMARC (https://vborg.vbsupport.ru/showthread.php?t=311062)

makaiguy 04-29-2016 11:13 AM

Quote:

Originally Posted by Avensen (Post 2569813)
I had to change

PHP Code:

Reply-to:{$vbulletin->userinfo['email'

to

PHP Code:

Reply-To: {$vbulletin->userinfo['email'

to make it RFC compliant and get it working with some e-mail provider.

Changes are: the capital T in Reply-To: and added space after Reply-To:

Thanks. That might explain the RFC Compliance problem mentioned in post 22.

I've edited the original post with these changes.

viper357 08-08-2016 05:24 PM

Quote:

Originally Posted by makaiguy (Post 2496459)
Here's my hack to sendmessage.php. This is for vB3.8.7 - don't know if there have been syntax changes in later versions. The keys here are the 5th and 6th parameters passed to vbmail().

In my vB 3.8.7 vbmail() is called three times in sendmessage.php.
  1. First time is for ContactUs mails. I don't currently have any trouble with these, probably because MY server isn't making DMARC/Sender-ID checks on incoming mail. Or maybe it's just that, even though it has the sender's email shown as From, in reality it is going from and to the same server (??).

Quote:

Originally Posted by Avensen (Post 2569813)
I had to change

PHP Code:

Reply-to:{$vbulletin->userinfo['email'

to

PHP Code:

Reply-To: {$vbulletin->userinfo['email'

to make it RFC compliant and get it working with some e-mail provider.

Changes are: the capital T in Reply-To: and added space after Reply-To:

Thanks guys, just to confirm that this is working well for the Contact Us form in 4.2.3 PL2 :up::up::up:

Don Z. 07-08-2017 10:47 AM

Quote:

Originally Posted by makaiguy (Post 2496459)
Here's my hack to sendmessage.php. This is for vB3.8.7 - don't know if there have been syntax changes in later versions.

This also works great on 3.8.11. I'm surprised this change wasn't in this newest (and maybe last) version of VB3.

Paul M 07-08-2017 01:43 PM

Quote:

Originally Posted by Don Z. (Post 2588234)
I'm surprised this change wasn't in this newest (and maybe last) version of VB3.

No one logged it in Jira.

alfreema 03-04-2019 04:30 PM

Had this exact issue when pushing emails through Office 365. This hack gets it working in vb5 5.4.5, but does not have the Reply-to because I didn't want to mess with figuring that out. So it sends and receives as the same user that you define, but the message body still has the user's email address .

In this file: ./core/vb/api/contactus.php

Replace:

PHP Code:


$flood 
vB_Mail::vbmail($destemail$mailcontent['subject'], $mailcontent['message'], true$maildata['email']); 

With:

PHP Code:


$flood 
vB_Mail::vbmail($destemail$mailcontent['subject'], $mailcontent['message'], true$destemail); 


aciurczak 03-15-2021 01:03 PM

Cleaned up the spf/dkim/dmarc behavior of my forums recently, and this same issue cropped up with the contact us links. The fix posted in this thread still works fine - and the emails are now coming through just fine once again.


All times are GMT. The time now is 03:13 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01170 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete