Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2017-12-10 08:46:11

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

Re: com_connect - form and contact mailer

phiw13 wrote #308205:

see also this and following post.

my form:

<txp:com_connect to="ma...@gmail.com" label="Send a message" subject="Message from website" thanks="Thank you!" lang="en-gb">
<txp:com_connect_text label="Name:" break="" />
<txp:com_connect_email name="email" type="email" label="Email:" break="" />
<txp:com_connect_text type="tel" label="Phone:" break="" />
<txp:com_connect_textarea rows="5" cols="25" label="Message:" break="" />
<txp:com_connect_submit label="Send" />
</txp:com_connect>

what else i could do?

Offline

#32 2017-12-10 09:22:57

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

Re: com_connect - form and contact mailer

in the last few months, i have received many compilations from my clients using ZCR contact mailer (request forms, booking forms, order forms… different kind of forms) – they don’t receive their clients emails. :(

yesterday i created new TXP account to the client. but she didn’t receive activation email. tryed three times. changed its hotmail email address to gmail address – then she finally received.

those email sending problems i have experienced already many years.

how about other CMS-s? do they also have similar “email sending” problems – does anyone know? could you confirm that this is not TXP specific issue?

Offline

#33 2017-12-10 10:10:32

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 1,832
Website

Re: com_connect - form and contact mailer

Gallex,

I usually include a from=xx[at]my-domain.tld where my-domain.tld is the domain/site that hosts the form and the email address is a real email address.

<txp:com_connect from="xx@my-domain.tld" to="ma...@gmail.com" …

The same email address is also specified on the Preferences > Admin panel (SMTP envelope sender address  and Send login details from this email address ).

Offline

#34 2017-12-10 10:21:25

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

Re: com_connect - form and contact mailer

Gallex wrote #308202:

This may be a spoofed message

If you were only getting this from com_connect I’d say it was the new headers I implemented. I stripped out some of the headers that caused issues with newer versions of PHP and replaced them with an enhanced body instead. But if it’s happening with ZCR too then try tinkering with your email sending prefs (see phiw13’s post) and also look into what gaekwad suggests.

Email providers are becoming more opinionated about what they perceive as spam (to the detriment of us all, to some degree) but taking some of the steps to sign/secure your email transport can go a long way towards helping servers route your messages correctly.


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

#35 2017-12-10 11:19:46

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

Re: com_connect - form and contact mailer

Gallex

You could whitelist by subject in gmail

  1. Mouse over the Settings menu icon and select Settings.
  2. Click Filters and then “Create a new filter”.

In the subject line, add the subject of the email sent by the form.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | Respbublika! | NeMe @ github

Offline

#36 2017-12-10 13:43:44

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

Re: com_connect - form and contact mailer

Bloke wrote #308210:

If you were only getting this from com_connect I’d say it was the new headers I implemented. I stripped out some of the headers that caused issues with newer versions of PHP and replaced them with an enhanced body instead. But if it’s happening with ZCR too then try tinkering with your email sending prefs (see phiw13’s post)

i did what phiw13 suggested: included from=”…” to the form and domain-specific email address to preferences. no “spoofing email” warnings anymore, but still no file attached with an email. :(

and also look into what gaekwad suggests.

could anybody tell me, what exactly i need to do to update my domains with DKIM and SPF?

my line: <txp:com_connect_file type="file" accept=".pdf,.xls,.odt,.doc,.docx" label="Lisa fail:" max="8000000" required="0" />

Last edited by Gallex (2017-12-10 14:15:03)

Offline

#37 2017-12-10 21:54:02

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 3,664
Website

Re: com_connect - form and contact mailer

Gallex wrote #308212:

could anybody tell me, what exactly i need to do to update my domains with DKIM and SPF?

I think this info could be useful to many of us. I’ve no special knowledge of this either, so input from someone with more detailed knowledge would be useful. Nevertheless, a google search threw up this What is SPF & DKIM? And Why You Want to Have It Set Up? post. Judging by that, you need to check with your webhost on how to add SPF records. If your domain is administered by an external provider that is not the same as your webhost, you will need to check with the service where you enter the DNS details (or possibly both if there’s something special for email-handling). The instructions will likely be particular to your host’s control panel. For example, here are some typical ones

Check with your own host.

@gaekwad: Is there anything in particular we would need to add for mail sent via php from textpattern, or should the standard entry for the domain suffice? Also, if one uses another service such as Gmail to handle one’s email for a domain, I guess one needs to provide different DNS records…?


TXP Builders – finely-crafted code, design and txp

Offline

#38 2018-03-09 08:56:30

lythande
Member
Registered: 2009-09-08
Posts: 197
Website

Re: com_connect - form and contact mailer

Hi,

would be a good idea to set pap_contact_cleaner for com_connect?
See there: By the way, is there anyway to make pap_contact_cleaner work with com_connect?

Or has com_connect itself the functions as pap_contact_cleaner?

Oh I see in the “Help” of the Plugin com_connect the same solutions for pap_contact_cleaner!

Last edited by lythande (2018-03-09 09:04:02)

Offline

#39 2018-03-11 15:48:03

Destry
Moderator
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,339
Website

Re: com_connect - form and contact mailer

Looking at the download options, I’m not sure which one I should use reliably (or with the fewest gotchas). 4.6.0 beta?

Offline

#40 2018-03-11 16:23:18

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

Re: com_connect - form and contact mailer

Go with the latest.


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

Board footer

Powered by FluxBB