Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#61 2007-11-08 18:07:20

kevinmcdougall
Member
Registered: 2007-02-08
Posts: 55

Re: zem_contact_reborn 4.0.3.20

OK ruud, any chance you could enlighten me as to what does? Postmaster maybe? If so, then maybe the post should be moved over there instead.

Offline

#62 2007-11-08 18:21:30

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.20

I have no idea what inserts it.

Offline

#63 2007-11-08 18:35:22

kevinmcdougall
Member
Registered: 2007-02-08
Posts: 55

Re: zem_contact_reborn 4.0.3.20

And there was me getting all hopeful… ;)

Offline

#64 2007-11-12 17:55:02

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: zem_contact_reborn 4.0.3.20

What about sticking file with the mail? Or some js-framework wich will upload file to server, then send form with pre-inserted link to file? :)

P.S. OMG, what dumn errors through the post… fixed :)

Last edited by the_ghost (2007-11-14 20:46:56)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#65 2007-11-14 19:18:14

mwillse
Member
From: brooklyn, ny
Registered: 2006-06-26
Posts: 83
Website

Re: zem_contact_reborn 4.0.3.20

Hello, I’m installing this plugin for a friend but had some trouble. Details below. Any suggestions?

Fatal error: Call to undefined function: is_valid_email() in /nfs/cust/2/22/72/527222/web/textpattern/lib/txplib_misc.php(459) : eval()'d code on line 480

pap_contact_cleaner 0.1
zem_contact_lang 4.0.3.6
zem_contact_reborn 4.0.3.20
Textpattern · 4.0.3

Is zem_contact still compatible with TxP 4.0.3? I’m afraid they don’t have the skills or resources to upgrade at this time.

thanks…

Offline

#66 2007-11-14 19:24:56

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.20

Edit the plugin and add this at the bottom, that should be enough to restore 4.0.3 compatibility (you’ll have to remove it again when upgrading):

function is_valid_email($address)
{
  return preg_match('/^[a-z0-9](\.?[a-z0-9_+%-])*@([a-z0-9](-*[a-z0-9])*\.)+[a-z]{2,6}$/i', $address);
}

Having said that… people really should upgrade. TXP 4.0.4 was released more than a year ago. TXP 4.0.5 has been available for half a year. Both fix security bugs.

Offline

#67 2007-11-16 03:38:45

giz
Member
From: New Zealand
Registered: 2004-07-26
Posts: 263
Website

Re: zem_contact_reborn 4.0.3.20

I have a very simple form:

<txp:zem_contact to=“recipient@myclient.com” subject=“myclient.com website registration” thanks=“Thank-you: your registration has been sent.” redirect=“registered”>
<txp:zem_contact_email /><br />
<txp:zem_contact_text label=“First Name” /><br />
<txp:zem_contact_text label=“Surname” /><br />
<txp:zem_contact_text label=“Company” /><br />
<txp:zem_contact_submit label=“Send your registration info” />
</txp:zem_contact>

Problem is, whether I specify a from attribute or not, the “Reply-To” field of the resulting email is anonymous@myclient.com and not the sender’s email. This is causing myclient’s email system to reject the email – it “fails the sender verification check”.

Any idea of what might be happening? I tried editing the $reply variable in the plug-in code to my email address, but to no avail:
Still “Reply-To: anonymous@myclient.com

Thanks – this one is driving me crazy.

Offline

#68 2007-11-16 07:50:09

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.20

If that anonymous email address was neither specified in the plugin code, nor in the ZCR tag attributes, nor in in the user input, then it’s the mailserver that adds the address => contact your webhost.

Offline

#69 2007-11-16 09:15:25

giz
Member
From: New Zealand
Registered: 2004-07-26
Posts: 263
Website

Re: zem_contact_reborn 4.0.3.20

Thanks, Ruud.

You’ve given me the ammunition I need… web-hosters, here I come!

Offline

#70 2007-11-16 10:08:05

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

Re: zem_contact_reborn 4.0.3.20

Is there any way to override zem_contact send_article so that it always sends the whole article and not an extract (if it exists?)

Doug.

Offline

#71 2007-11-16 10:59:31

giz
Member
From: New Zealand
Registered: 2004-07-26
Posts: 263
Website

Re: zem_contact_reborn 4.0.3.20

ruud wrote:

If that anonymous email address was neither specified in the plugin code, nor in the ZCR tag attributes, nor in in the user input, then it’s the mailserver that adds the address => contact your webhost.

update:

The web-host shot back that we need to specify a ‘Return-Path’. I spliced one into the plug-in and so far it appears to be working…

Offline

#72 2007-11-16 18:40:47

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.20

That webhost should read the relevant RFCs that specify that the Return-Path must be inserted by the final recipient SMTP server, not by the sending client. But hey, if it works for you ;)

Offline

Board footer

Powered by FluxBB