Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
- This topic has 11 replies, 2 voices, and was last updated 5 years, 4 months ago by
Steven Zahm.
-
AuthorPosts
-
07/13/2018 at 5:29 am #467415
Age de Jong
ParticipantHi,
We use Ultimate Branding to force all mails being sent via a SMTP, so they won’t get flagged as spam.
In Ultimate Branding is this option set to Off:
*Force from name replacement: Off
When enabled, the plugin will set the above From Name for each email. Disable it if you’re using contact form plugins, it will prevent the plugin from replacing form submitter’s name when contact email is sent. If email’s From Name is empty, the plugin will set the above value regardless.
Default is: On*This is working for all (other) mailforms we have on the website, but somehow the mailfrom is overwritten in the mails sent in Connections via the Contact extension.
Mails from Contact show the set From Email Address within Ultimate Branding.
But mails from f.e. Contact Form 7 show the entered from address.I took a look into the e-mail sources to compare them.
Noticed Contacts isn’t providing the Reply-To field:
Connections:
To: name name@to-mail.nl
From: name entered info@domainserver.nl
Subject: connectionsContact Form 7:
To: name@to-mail.nl
From: Domain name info@domainserver.nl
Reply-To: name@from-mail.nl
Subject: contact form 7Can the Reply-To field be added into the extension?
07/13/2018 at 10:22 am #467436Steven Zahm
Keymaster@ Age
Lets try a little experiment…
Edit this file:
../wp-content/plugins/connections/includes/email/class.email.php
Comment out lines 358-371 and lines 452 thru 456.
The links show what the code that you should comment out.
Let me know the results.
07/13/2018 at 5:02 pm #467465Age de Jong
ParticipantThis reply has been marked as private.07/14/2018 at 10:38 am #467487Steven Zahm
Keymaster@ Age
I do know how to set a reply to header. The reply to header is only required when the reply should be sent to a different address. This does not apply to Contact. The reply should always be sent to the individual whom enter their email address in the contact form. Adding this extra field, which nearly everyone will not understand, would not be a good addition to Contact.
I am under the impression that the Ultimate Branding plugin you are using was setting reply to field via a filter before sending the email.
The code I had you comment out was added to prevent other plugins from messing with email. So, I was curious is removing that code would allow Ultimate Branding to add the reply to field.
Maybe my understanding is not correct… Is Ultimate Branding supposed to be adding the reply to field or not? Honestly, I am a little confused as to why you would want to override the user supplied from address so all replies are sent to you instead of the user supplied email.
07/14/2018 at 11:06 am #467488Steven Zahm
Keymaster@ Age
I did a search of the core WordPress codebase. WordPress only sets a reply to header in one scenario. It adds the header to admin user comment notifications. If the user commenter did not supply an email address the field defaults to
wordpress@domain.com
.I was just curious under what exact circumstances WP itself uses the reply to header. Not sure if that really adds anything to the discussion…
07/16/2018 at 5:06 am #467550Age de Jong
ParticipantHello Steven,
The Ultimate Branding plugin is being used so all mails are sent via smtp.
Something same as Easy WP SMTP plugin. Some mails are marked as spam when using WP mail and such plugins solve this problem.It wasn’t my intention to show a reply-to field in the mail form.
The problem I have is the same as this topic: https://wordpress.org/support/topic/what-to-enter-in-reply-to-email-address-field-within-settings/ perhaps this describes it better what I try to say.
And perhaps this is useful? https://orbisius.com/blog/how-to-specify-reply-to-field-wordpress-wp_mail-p4035
07/16/2018 at 8:33 am #467573Steven Zahm
Keymaster@ Age
Ok, I’m still trying to determine the issue your are actually having… So, what you are saying is that since Contact does not set the reply to header, Ultimate Branding will add one and the address it uses is the one in its settings?
Is that correct?
I have looked at the docs for Ultimate Branding to try to understand, but, it seems that is the one feature they do not provide any documentation.
07/17/2018 at 3:37 am #467625Age de Jong
ParticipantThis reply has been marked as private.07/17/2018 at 11:39 am #467689Steven Zahm
Keymaster@ Age
Navigate to the Connections : Settings admin page and click the Beta Versions tab. Enable support for the Contact extension. Now navigate to the WordPress Upgrades admin button and click the “Check Again” button of an update for Contact does not show. Update Contact to version 1.4.1-rc1.
I’ve set the Reply-To email header to the same name and address as the From header. So, now the SMTP plugins should not “force” the Reply-To header because it did not exist.
Hope this helps! Please let me know the results. Apologies it took so long for me to understand the trouble you were experiencing.
07/18/2018 at 3:58 am #467753Age de Jong
ParticipantIt working perfect! Thanks, and no need for apologies, I’m just glad I was able to explain myself a bit better and you’re able to fix it.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.