Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#151 2019-01-11 10:41:02
Re: com_connect - form and contact mailer
Is there anything I need to do to get com_connect to work with pap_contact_cleaner?
The form is working fine, both plugins enabled, but the hidden fields from pap_contact cleaner aren’t appearing.
Offline
#152 2019-01-11 10:56:15
Re: com_connect - form and contact mailer
The one below works for me.
# Name: pap_comconnect v0.1.2 (compressed)
# Type: Public plugin
# Prevent Spam through com_connect
# Author: tranquillo and Stef
# URL: https://forum.textpattern.com/viewtopic.php?pid=312784#p312784
# Recommended load order: 5
# .....................................................................
# This is a plugin for Textpattern CMS - http://textpattern.com/
# To install: textpattern > admin > plugins
# Paste the following text into the 'Install plugin' box:
# .....................................................................
H4sIAAAAAAAAA4VUUW/aMBB+Bqn/4ZZOC5W6pElpoSllmva0t0ndniOTXIg1x/bsCx3q+t/n
OKGAijYJCed89/n7vvOZZUmSPdtsmgWSNRjc2yxxa810XqimUFJiQV30NgtYS7UyPuUuC8gw
+avlQihgsoRHwspvXe0S89ZwX5lkQU2kbRbHlTJtExH+Js2I0MiIq3jD8YmU5kWka/1J8/Lh
Okln8+m57v87kFkWbNBYrmT3dZMFV1ESpf5AB1+iLQzXNGxfp1nwzeAGJcGjZg1QbVS7rsFJ
yg80OaGFKr3o2dRJMrjm1rHKCybEihU/J+GxEbnj34SX4T4S+cjF/dn4/8W2XTWcjsuHWAdw
Nq5aWXQa4MSpkwt47nJG7yuOooQHCBcl34ClrcCHYMMtX3HBaZtBzcsSZbAMo4pL3dIk7Ax3
5+paSQwvtZ0My4vLMDz+DfEoXKwMxG8hGsZFj+BXbwH6sKuPHbtl6HSNDFJrJPTEvdCXf6nt
LdnrLWosfnK5zjvofKeeDG8mex6dgQepXsbb3EFd7/boPW6YaJnn8PAB1kiHNIZNZSZDehzD
18pdJRwMBg9vgRl0SyGwBNXSpc9wIMQKgq5z8KRkSLBC6JURlu8cHK9gclLbO9faEP78gdNy
/PaF82Z0JODjElhZHvlIjFo7Sbw1L6992DVgGADa6n7q3UgNo6VMiWaI3QyxSrC1PcxzpTUK
7cdt7hIWdbL8xjR8GZR/EcgkmkXs4uPxaKGX32tuQYt2zWVH1QI9KeDS31yBOzdJwVa15nBU
vYvRzvw3rp92/MP5PE1m99S1dW98tIj1Kx3csXG8Vsx2/ZNghVrn1j0a09RDrbbwvVYNs/BY
1IY5Z14xnLIflq3xQGPiaEpnvBDDrfak8qI3AyqjmlMbEf2mqJ+4cRrBZzcXG0bohe0cc2/s
E6Oi9sGOIJTcMq2R9Yx8J7KgKW92T2Bynd7NZlOWrtL5XZqy8gqn84Ldzm7vphWrXNtf/gLa
BAXM/wUAAA==
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#153 2019-01-11 11:10:06
Re: com_connect - form and contact mailer
Thanks Yiannis – that did the trick. I was using an old version. Just need to hope it gets my client off my back now! ;-)
Offline
#154 2019-03-14 19:34:05
Re: com_connect - form and contact mailer
Because my client uses Microsoft Exchange on his computer(s) the IT agency wants me to (re)direct outgoing mail via com_connect to a specific SMTP adress: mailgtw01.desktopinacloud.nl … because they are using VPN … :|
Is that possible within the plugin? Textpattern? Any help is welcome … :)
Offline
#155 2019-03-15 22:55:52
Re: com_connect - form and contact mailer
RedFox wrote #317055:
the IT agency wants me to (re)direct outgoing mail via com_connect to a specific SMTP adress… Is that possible within the plugin?
Not directly. You’ll need a module that hooks into the comconnect.deliver callback to bypass the internal mail handling and offload it to the nominated endpoint. The good news is that – depending on which library you choose to install (e.g. Pear, PHPMailer, SwiftMailer, msmtp, …) – it’s probably not many lines of code.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#156 2019-03-16 07:15:00
Re: com_connect - form and contact mailer
Thanks Bloke. And what about e-mails not send via com_connect but via a mailto link? Same libs?
Offline
#157 2019-03-16 08:53:27
Re: com_connect - form and contact mailer
RedFox wrote #317097:
Thanks Bloke. And what about e-mails not send via com_connect but via a mailto link? Same libs?
Potentially yes, but it’s more tricky as there aren’t any callbacks in the mail routines as far as I recall. So it’ll probably require core hacks until such time as we embed third party mail support.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#158 2019-03-16 11:22:11
Re: com_connect - form and contact mailer
Is there a specific file which can or has to be hacked?
[edit]
Everything is resolved smooth and simple … all emails are send directly into the cloud by the ISP. They turned off all emails on their servers … :o
Last edited by RedFox (2019-03-20 17:00:35)
Offline
#159 2019-06-22 06:45:52
Re: com_connect - form and contact mailer
I know that it must be in front of me but I just can’t find it. Is there a way to either change the title of the emails sent by a particular form (not site wide)? Alternatively, is there a way to add an invisible field with the code of one of our projects in order to be able to find the emails received for that project later?
Got it! just add subject
Last edited by colak (2019-06-22 07:08:44)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#160 2019-07-10 12:11:05
Re: com_connect - form and contact mailer
Hi guys! How can I use the server info variable to send the page path of the enquiry in the web enquiry email please? There was a way with zem but I haven’t used it on com yet!
Thank you!
Oh think <txp:com_connect_serverinfo name=“REQUEST_URI” label=“Page” /> will do the job…
Last edited by hilaryaq (2019-07-10 12:19:21)
…………………
I <3 txp
…………………
Offline
#161 2019-08-20 17:27:20
Re: com_connect - form and contact mailer
I have added the plugin strings in Catalan to the original textpack in Github (com_connect_v4.6.0-beta.3_de.en.es.fr.nl.pt_textpack.txt). You can download the new version from here for the time being.
Offline
#162 2019-09-25 09:45:29
Re: com_connect - form and contact mailer
On this page (link) I’m using this form ‘aanmelden’ >
<txp:com_connect label="" to="xxx@xxx.tld" subject="amordetango.nl … aanmelding!" thanks="Het bericht is verstuurd. Dank u!">
<!-- form with p's to style background images > http://codepen.io/rexkirby/pen/Fdnlz -->
<p class="text"><txp:com_connect_secret label="Aanmelding?">Ja, ik wil me graag aanmelden</txp:com_connect_secret></p>
<p class="text"><txp:com_connect_text label="Voor- en achternaam" /></p>
<p class="email"><txp:com_connect_email label="E-mailadres" /></p>
<p class="textarea"><txp:com_connect_textarea label="Welke les of workshop? Waar? Danspartner?" cols="" rows="" required="0" /></p>
<p class="submit"><txp:com_connect_submit label="">Verzenden</txp:com_connect_submit></p></txp:com_connect>
On the server there is a spamfilter working and the emailaddress is on a whitelist. But still there are ‘normal’ emails which get high spamscore’s and do not come through > example.
Question: is there a way to tweak the plugin to overcome this behavior?
>Edited to hide the email
Last edited by colak (2019-09-25 11:31:49)
Offline
#163 2019-09-25 12:31:31
Re: com_connect - form and contact mailer
RedFox wrote #319412:
is there a way to tweak the plugin to overcome this behavior?
Short answer: no. Long answer: no, but… ;)
The plugin is at the mercy of your server configuration – Textpattern to a degree (do things imporve if you mess with the envelope header setting in Prefs?) but mainly your hosting platform.
If SPF and DKIM are set up properly (among other things) then that can go some way towards helping reduce the likelihood of messages from Txp appearing in junk or being outright rejected. Without those, you’re at the mercy of your host’s enforced spam filters and heuristics, unfortunately. The only thing you can really do is forward the messages to your host and ask if they can consider such content as ham not spam next time.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#164 2019-09-25 12:57:26
Re: com_connect - form and contact mailer
Bloke wrote #319413:
Do things improve if you mess with the envelope header setting in Prefs?
The only thing you can really do is forward the messages to your host and ask if they can consider such content as ham not spam next time.
I did, but they can’t do anything … they say … :|
What if I turn their spamfilter ‘off’? The plugin has a spamfilter build in isn’t it?
Last edited by RedFox (2019-09-25 13:01:45)
Offline
#165 2019-09-25 13:07:35
Re: com_connect - form and contact mailer
RedFox wrote #319415:
What if I turn their spamfilter ‘off’?
Then it would be the first host in history to allow it (and I applaud them for doing it). Most just allow you to turn it down.
The plugin has a spamfilter build in isn’t it?
No but you can employ pap_contact_cleaner still if you can find the version modded for use with com_connect. I think it’s floating around somewhere. Colak or jakob might be able to recall if/where it’s been done.
If not, anyone can build a proper heuristic spam tester module for the plugin using the same technique that pap_contact_cleaner does on submission. Maybe that could add a spam score field to the payload so you can filter them at the destination?
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline