Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2017-09-11 12:12:49

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: com_connect - form and contact mailer

philwareham wrote #306947:

Oh. Yes I can see why you’d want to have more directly applied classnames now.

Yes…this is for an updated website using Tachyons which is really nice to use but requires classes to be placed on individual elements which can be a pain…but I do think it is unintuitive to have a class applied to the Textpattern tag which relates to an input element also apply to a label element. I’m not sure what to suggest – it is an easy workaround I know.

Offline

#17 2017-11-04 13:57:50

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

Re: com_connect - form and contact mailer

placeholder text doesn’t show up. :( what i should check?

my form:

<txp:com_connect to="john@example.com" label="" subject="Message" thanks="Your message has been sent, thank You!" lang="en-gb">
  <txp:com_connect_text label=" " placeholder="Name" break="" />
  <txp:com_connect_email name="email" type="email" label=" " placeholder="Email" break="" />
  <txp:com_connect_textarea rows="4" cols="25" label=" " placeholder="Message" break="" />
  <txp:com_connect_submit label="Send" />
</txp:com_connect>

Edit: Replaced email, textilised code. Uli

Last edited by uli (2017-11-04 16:31:54)

Offline

#18 2017-11-04 22:21:32

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

Re: com_connect - form and contact mailer

Gallex wrote #307645:

placeholder text doesn’t show up. :( what i should check?

What is the Doctype of your site (Amin > Preferences > Site)? That attribute is only applied if it is set to HTML5.


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

Offline

#19 2017-11-05 07:44:56

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

Re: com_connect - form and contact mailer

phiw13 wrote #307646:

What is the Doctype of your site (Amin > Preferences > Site)? That attribute is only applied if it is set to HTML5.

XHTML. changed to HTML5 and ‘problem’ solved. thank you!

Offline

#20 2017-11-06 09:57:58

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

Re: com_connect - form and contact mailer

trying to send pdf file (34 KB).

my form:

 <txp:com_connect to="mar...@gmail.com" label="" subject="Messsage" 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_file label="Send file" max="8000000" />
<txp:com_connect_submit label="Send" />
</txp:com_connect>

but still getting error message:

Send file must not exceed 8000000.

Offline

#21 2017-11-07 09:50:35

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

Re: com_connect - form and contact mailer

is it something wrong with my code above?

PHP version: 5.4.45

Offline

#22 2017-11-07 11:12:08

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

Re: com_connect - form and contact mailer

I think it’s a bug in the ext_file_attach module, sorry. But it won’t even run on my server any more as there’s some changes to recent PHP versions which break the headers that com_connect uses so I need to debug that first.


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

#23 2017-11-30 11:19:12

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

Re: com_connect - form and contact mailer

Bloke wrote #307671:

I think it’s a bug in the ext_file_attach module, sorry. But it won’t even run on my server any more as there’s some changes to recent PHP versions which break the headers that com_connect uses so I need to debug that first.

any progress?

Offline

#24 2017-11-30 13:48:07

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

Re: com_connect - form and contact mailer

Gallex wrote #308056:

any progress?

Ack, thanks for the reminder. I’ll look tonight and see if I can get it fixed.


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

#25 2017-12-07 01:02:36

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

Re: com_connect - form and contact mailer

Gallex: Sorry for the delay. Try v1.0.1 and see if it fixes the file upload issue. It works for me with smallish limits, haven’t tried anything massive yet.


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

#26 2017-12-09 08:45:47

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

Re: com_connect - form and contact mailer

Bloke wrote #308142:

Gallex: Sorry for the delay. Try v1.0.1 and see if it fixes the file upload issue. It works for me with smallish limits, haven’t tried anything massive yet.

now it uploads and sends the message, but the email i receive, is without the attachment

Offline

#27 2017-12-09 09:21:36

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

Re: com_connect - form and contact mailer

at the top of a email i receive is: “This may be a spoofed message. Gmail couldn’t verify that it was actually sent from your account. Learn more”

could this be related somehow to the issue?

actually i get this warning from gmail almost in every new site i send a testmail with (CC or ZCR) contact mailer.

Last edited by Gallex (2017-12-10 07:51:02)

Offline

#28 2017-12-09 16:16:29

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,723
GitHub

Re: com_connect - form and contact mailer

Gallex wrote #308202:

“This may be a spoofed message. Gmail couldn’t verify that it was actually sent from your account. Learn more”

This is probably a problem outside Textpattern. This error appears when Gmail (or any email provider) checks if the email received came from a location that the domain owner approves of.

There are two things to investigate, and update on your domain(s): DKIM and SPF (both links safe for work) These two systems help email servers decide if email is good or bad.

Also, you could confirm in Gmail that the email is not spam, and then Gmail will learn to allow it.

Offline

#29 2017-12-10 00:00:21

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

Re: com_connect - form and contact mailer

gaekwad wrote #308204:

This is probably a problem outside Textpattern. This error appears when Gmail (or any email provider) checks if the email received came from a location that the domain owner approves of.

There are two things to investigate, and update on your domain(s): DKIM and SPF (both links safe for work) These two systems help email servers decide if email is good or bad.

Also, you could confirm in Gmail that the email is not spam, and then Gmail will learn to allow it.

Yes, that could a part of the problem, see also this and following post.


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

Offline

#30 2017-12-10 08:34:21

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

Re: com_connect - form and contact mailer

gaekwad wrote #308204:

There are two things to investigate, and update on your domain(s): DKIM and SPF (both links safe for work) These two systems help email servers decide if email is good or bad.

how does it go? how i can update my domains with DKIM and SPF? totally unknown topic for me :(

Also, you could confirm in Gmail that the email is not spam, and then Gmail will learn to allow it.

i know what to do if gmail sends the email into spam folder, but this email is not a spam, it is “spoofed message”. i cant find instructiońs for that situation https://support.google.com/mail/

Offline

Board footer

Powered by FluxBB