Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#436 2008-10-06 15:08:04

Emilw
New Member
Registered: 2008-10-01
Posts: 4

Re: zem_contact_reborn 4.0.3.20

One of my sites using emailaddresses that looks like name@city.example.com. My contactform doesn’t send any mail if the to address looks like that, but it works great with my gmail address.

Have I done something wrong?

Offline

#437 2008-10-06 18:34:43

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 it does work with the gmail address, but fails with the other address, I’d recommend asking the webhost to check the mailserver log files to find what causes the delivery to that other address to fail.

Offline

#438 2008-10-06 22:26:37

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: zem_contact_reborn 4.0.3.20

sorry if the question’s already been asked

is it possible to get a unique or incremental number into the subject?

so something like “response 1”, “response 2”, etc?

Offline

#439 2008-10-07 14:30:01

Emilw
New Member
Registered: 2008-10-01
Posts: 4

Re: zem_contact_reborn 4.0.3.20

ruud wrote:

If it does work with the gmail address, but fails with the other address, I’d recommend asking the webhost to check the mailserver log files to find what causes the delivery to that other address to fail.

Thanks for your reply.

According to my webhost, no mail were sent. They asked me if it could be some code in the form that doesn’t allow sub domains, the only addresses that wont work is sub domain addresses.

Offline

#440 2008-10-07 14:33:48

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

Nardo, To get an auto-incrementing counter, you can use my rvm_counter plugin in a form (the subject_form attribute for the zem_contact tag)

Emilw, if the email address was not valid, you’d get an error message (try entering something with a completely invalid domain as the TO address).

Offline

#441 2008-10-07 14:55:17

Emilw
New Member
Registered: 2008-10-01
Posts: 4

Re: zem_contact_reborn 4.0.3.20

I tried with emil@sadfasdfs.asdaasd.se as the TO address then I got no error message, just that the mail has been sent.
If I put in a space in the domain it doesn’t accept the address.
To address: emil@sadfasdfs.asdaasd.asda.sad.a.sd.asd.ad.se is accepted.

Last edited by Emilw (2008-10-07 15:11:48)

Offline

#442 2008-10-07 15:37:40

joebaich
Member
From: DC Metro Area and elsewhere
Registered: 2006-09-24
Posts: 507
Website

Re: zem_contact_reborn 4.0.3.20

Emilw,

This is a long shot. Does the DNS zone file associated with the site bearing the contact form in question have an MX record that directs email to a 3rd party email server, a local MS Exchange Server for instance, instead of the hosting company’s email server? If so, it is likely that email generated by contact forms on your site directed to email addresses in the same domain (as is more often than not the case) will fail. This could account for you being able to send to a Gmail account successfully but not to your own domain’s accounts. Depending on the hosting company set up, email to other domains on the same server as yours could fail too.
If it appears that this is the case, your hosting company can fix the problem for you; it is a common requirement when a 3rd party email server is in play and hosts have to do it all the time.

Offline

#443 2008-10-07 17:04:19

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 ZCR doesn’t reject the message, then that email address is used when trying to send an email using the standard PHP mail() function. Since that obviously non-existent address was not rejected, I’m guessing you’re on a Windows server (where it’s not possible to check the validity of the domain name).

Offline

#444 2008-10-08 04:40:16

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: zem_contact_reborn 4.0.3.20

that’s great, thanks ruud

Offline

#445 2008-10-08 15:22:33

Emilw
New Member
Registered: 2008-10-01
Posts: 4

Re: zem_contact_reborn 4.0.3.20

My webhost is looking at the problem. I’m not using a 3rd party email server, its all at my webhost.
I’m not at windows either. The site is on FreeBSD.
I think its something with my webhost, can’t send mail with only the PHP mail() function to this sub domain address either:

<?php
mail("name@city.example.com", "subject", "message");
?>

I’ll see what the webhost finds out. Thanks for your help.

Offline

#446 2008-10-10 17:04:24

dreamer
Member
Registered: 2007-06-08
Posts: 242

Re: zem_contact_reborn 4.0.3.20

In regards to the <txp:zem_contact_select /> tag, is there a way to increase the width of the dropdown so that the text inside the dropdowns don’t look so bunched up?

Offline

#447 2008-10-10 17:14:37

nabrown78
Member
From: Northampton, MA, USA
Registered: 2006-10-04
Posts: 294
Website

Re: zem_contact_reborn 4.0.3.20

Dreamer –
From my experience the drop down expands to fit the width of the widest text in it. You can style the text in the dropdown with CSS (class .zemSelect). You may just need to set it to inherit the font properties of its containing element, especially if you have used a reset stylesheet which is removing any of the browser’s formatting from the select.

Offline

#448 2008-10-11 07:40:40

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: zem_contact_reborn 4.0.3.20

I’d like to have a “Report this comment” link next to each comment which when clicked redirected to a page that has zem contact on with a hidden field auto filled with the url of the comment. Anyone done this or know if it’s poss.

Offline

#449 2008-10-12 21:24:59

cbeyls
Archived Plugin Author
From: Brussels, Belgium
Registered: 2005-09-12
Posts: 136
Website

Re: zem_contact_reborn 4.0.3.20

Hello zem_contact_reborn developers,

I’m currently writing a Mollom plugin for Textpattern and I wanted to integrate it with the zem_contact_reborn antispam API. However, I faced a big problem with this API: it does not allow to reload the form.

For example, think about a captcha plugin. If the user enters the wrong captcha, should we flag the mail as spam? Of course not! We should give the user one more chance to answer the captcha and show him the filled form again instead of “We do not accept spam”.

So you need to provide a way to display the filled contact form again with an optional informative message like, in this case, “Your answer to the captcha was incorrect. Please try again.”.

Please implement this for the next version. If you want, I can do it and write some documentation if you give me access to some SVN server (I’ve already written many textpattern plugins so you can judge my skills). Thank you.

Last edited by cbeyls (2008-10-12 21:28:17)


My plugins : cbs_live_search (improved) – cbs_category_list – cbs_navigation_menu – cbs_gravatar (updated) – cbs_article_index – cbs_maintenance_mode (new) – cbs_section_language (new)

Offline

#450 2008-10-12 22:33:25

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

lee wrote:

I’d like to have a “Report this comment” link next to each comment which when clicked redirected to a page that has zem contact on with a hidden field auto filled with the url of the comment. Anyone done this or know if it’s poss.

You can make some link with GET paramert, where the URL of comment would be stored, and th new page just output this GET variable into hidden field, AFAIK zcr know hidden fields and can work with server variable such as GET


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

Board footer

Powered by FluxBB