Textpattern CMS support forum

You are not logged in. Register | Login | Help

#151 2019-01-11 10:41:02

douglgm
Member
From: Bristol
Registered: 2006-08-23
Posts: 182
Website

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

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,289
Website

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.io/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.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

#153 2019-01-11 11:10:06

douglgm
Member
From: Bristol
Registered: 2006-08-23
Posts: 182
Website

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

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 740
Website

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

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,675
Website

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.

Txp Builders – finely-crafted code, design and Txp

Online

#156 2019-03-16 07:15:00

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 740
Website

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

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 8,675
Website

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.

Txp Builders – finely-crafted code, design and Txp

Online

#158 2019-03-16 11:22:11

RedFox
Member
From: Netherlands
Registered: 2005-03-25
Posts: 740
Website

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

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 7,289
Website

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.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

#160 2019-07-10 12:11:05

hilaryaq
Plugin Author
Registered: 2006-08-20
Posts: 196
Website

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

Board footer

Powered by FluxBB