Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#481 2025-12-03 10:42:52

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,172
Website GitHub

Re: com_connect - form and contact mailer

Gallex wrote #341457:

do i need to fill ‘‘Send login details from this email address’‘ field under preferences and problem solved?

Yes, in theory. And if that doesn’t work you can add:

from="noreply@aknalaud24.ee"

in the <txp:com_connect> tag.


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

Offline

#482 2025-12-04 04:26:58

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,565
Website

Re: com_connect - form and contact mailer

Oddness with reply_to (TXP 4.9 and com_connect 4.9-beta, PHP 8.4.latest and 8.5.0)

The <txp:com_connect /> contains: to="xxx[at]my_domain.tld" from="xxx[at]my_domain.tld".
The TXP preferences > Mail:

  • “SMTP envelope sender address” -> xxx[at]my_domain.tld
  • “Use enhanced mail features?“ -> Yes

The mail I receive has my xxx[at]my_domain.tld as the from address – that is expected, and the contacting person’s address in the reply_to field, also as expected.

But, this is a weirdness I think, the reply_to field also includes my from address.

Raw source of email is basically:

From: xxx@my_domain.tld
Reply-To:  xxx@my_domain.tld, someone.somewhere@mail.another-domain.tld

That is a little unexpected.

I am not sure when this started. Many contact emails we receive don’t warrant an answer. Those that do, most of the time we create a new mail and copy the necessary detail out of the received mail.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg

Offline

#483 2025-12-04 10:17:00

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,172
Website GitHub

Re: com_connect - form and contact mailer

Hmmm, okay. While it’s not technically wrong I admit that’s probably not expected.

I’ll take a look and see if I can figure out why it’s working that way and try to make it only use one address.

Thanks for the report.


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

Offline

#484 2025-12-05 02:10:11

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,343
Website GitHub Mastodon Twitter

Re: com_connect - form and contact mailer

Bloke wrote #341479:

Hmmm, okay. While it’s not technically wrong I admit that’s probably not expected.

I’ll take a look and see if I can figure out why it’s working that way and try to make it only use one address.

Thanks for the report.

I might be wrong but think that it had to do with our discussions regarding postmaster, and how online email providers such as gmail no longer accepted phpmail. The solution was to create a 2 “Reply-To” emails. my@email.tld, subscriber@their_site.tld.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#485 Yesterday 09:51:51

Gallex
Member
Registered: 2006-10-08
Posts: 1,321

Re: com_connect - form and contact mailer

I received a letter from technical support, they said that they checked their logs and now indeed the letters are arriving beautifully with the correct data. Adding from=“noreply@domainname.ee” to com_coņnect solved the problem

Offline

#486 Today 09:02:16

Gallex
Member
Registered: 2006-10-08
Posts: 1,321

Re: com_connect - form and contact mailer

I need to integrate reCaptcha into form – as anybody did it before? was it easy, working?

Last edited by Gallex (Today 09:37:54)

Offline

#487 Today 09:16:55

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,172
Website GitHub

Re: com_connect - form and contact mailer

Gallex wrote #341614:

I need to integrate reCaptcha into form – is there a working solution?

There’s ext_captcha which integrates with com_connect. I haven’t tested it for a while and it’s still considered beta code (no official release until 4.9.0 ships), but if you download the Code => Zip file from github and drag/open EITHER the embedded ext_captcha.php or ext_captcha.zip into your Plugins panel’s Browse… area, it should install fine.


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

Offline

#488 Today 10:02:11

Gallex
Member
Registered: 2006-10-08
Posts: 1,321

Re: com_connect - form and contact mailer

Bloke wrote #341615:

There’s ext_captcha which integrates with com_connect. I haven’t tested it for a while and it’s still considered beta code (no official release until 4.9.0 ships), but if you download the Code => Zip file from github and drag/open EITHER the embedded ext_captcha.php or ext_captcha.zip into your Plugins panel’s Browse… area, it should install fine.

looks like i got it installed, but with little error:

Warning "rename(/tmp/ext_captcha.zip,/path/to/textpattern/plugins/ext_captcha/ext_captcha.zip): Operation not permitted"
in /path/to/textpattern/include/txp_plugin.php at line 930.
adminErrorHandler()
textpattern/include/txp_plugin.php:930 rename()
textpattern/include/txp_plugin.php:56 plugin_install()
textpattern/index.php:218 include()

txp: 4.9.0 beta 2
php: 8.3

Bloke EDIT: remove full paths.

Last edited by Bloke (Today 10:07:54)

Offline

#489 Today 10:03:56

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,172
Website GitHub

Re: com_connect - form and contact mailer

Gallex wrote #341618:

@Warning “rename(…)”

Weird. Does your server have write access to the textpattern/plugins directory? Check the permissions please.

EDIT: Hmmm, or it could be this weirdness. Could you please post your (private hidden) Low Diagnostics here?

Last edited by Bloke (Today 10:05:40)


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

Offline

#490 Today 11:05:02

Gallex
Member
Registered: 2006-10-08
Posts: 1,321

Re: com_connect - form and contact mailer

Bloke wrote #341619:

Weird. Does your server have write access to the textpattern/plugins directory? Check the permissions please.

EDIT: Hmmm, or it could be this weirdness. Could you please post your (private hidden) Low Diagnostics here?

owner has writte permission. after refresh error message disappeared.

Textpattern version: 4.9.0-beta.2 (f9944943f5f4a849db3c7f1b2fe70bb3)
Last update: 2025-12-05 10:37:52/2025-12-05 10:23:18
Textpattern path: __TXP-ROOT/textpattern
Article URL pattern: section_title
Production status: debug
upload_tmp_dir: /Obfuscated-by-BLOKE/tmp
Temporary directory path: /tmp
PHP version: 8.3.28
GD Graphics Library: 2.3.3; Supported formats: GIF, JPEG, PNG, WebP.
Server time zone: Europe/Tallinn
Server local time: 2025-12-09 13:00:13
Daylight Saving Time enabled?: 0
Automatically adjust Daylight Saving Time setting?: 1
Time zone (GMT offset in seconds): Europe/Tallinn (7200)
MySQL: 11.8.5-MariaDB-log (FreeBSD Ports) 
Database server time: 2025-12-09 13:00:13
Database server time offset: 0 s
Database server time zone: SYSTEM
Database session time zone: SYSTEM
Locale: en_GB.UTF-8
Site / Admin language: en-gb / en-gb
Web server: Apache
PHP server API: fpm-fcgi
PHP SSL version: OpenSSL 3.5.4 30 Sep 2025
RFC 2616 headers: 0
Server OS: FreeBSD 14.3-RELEASE-p5
Admin-side theme: hive 4.9.0-beta.2
Active plugins: 
	adi_notes-1.4 (modified)
	com_connect-4.7.0
	ext_captcha-0.1.0
	pap_comconnect-0.1.2
	rah_comments-0.4 (modified)
	rah_metas-1.5 (modified)
	rah_sitemap-1.2
	rss_auto_excerpt-0.5.1
	smd_gallery-0.62
	smd_lib-0.36 (modified)
	smd_random_banner-0.42

.htaccess file contents: 
------------------------
# BEGIN Textpattern

#DirectoryIndex index.php index.html

<IfModule mod_rewrite.c>
    RewriteEngine On

    #Options +FollowSymlinks

    #RewriteBase /relative/web/path/

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^(.+) - [PT,L]

    RewriteCond %{REQUEST_URI} !=/favicon.ico
    RewriteRule ^(.*) index.php

    RewriteCond %{HTTP:Authorization}  !^$
    RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>

<IfModule mod_mime.c>
    AddType image/svg+xml  svg svgz
    AddEncoding gzip       svgz
</IfModule>

# For .htaccess configuration settings and explanations, please refer to:
# https://github.com/h5bp/server-configs-apache/blob/main/dist/.htaccess
# https://httpd.apache.org/docs/

# END Textpattern

------------------------

Offline

Board footer

Powered by FluxBB