Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-01-19 18:57:42

jheyer
Member
Registered: 2004-09-04
Posts: 10
Website

Dean's MailTo Form

I’m using Dean’s simple MailTo Form (dca_mailto_form) and it works fine but when I recieve and email from the form and try to reply it puts something like the following in the To: field.

<code>john.doe@company.com <john.doe@ss41.shared.server-system.net></code>

So when I actually hit send it looks like it’s sent but it never reaches them and I had no clue it wasn’t getting to them cuz I didn’t receive an “undeliverable” message or anything.

Firstly, is there a way to fix this? Secondly, if not is there another plugin that addresses this issue?

Thanks in advance.

Last edited by jheyer (2005-01-19 19:00:23)


“This year, or this month, or, more likely, this very day, we have failed to practise ourselves the kind of behaviour we expect from other people.” — C.S. Lewis

Offline

#2 2005-01-19 19:23:45

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: Dean's MailTo Form

You can try out zem_contact which does the same thing but with the ability to customize your contact forms totally.

Offline

#3 2005-01-19 19:26:30

jheyer
Member
Registered: 2004-09-04
Posts: 10
Website

Re: Dean's MailTo Form

Thanks Wilshire, I’ll check out his plugin. I’m just wondering why Dean’s plugin is having the above problem. Maybe he is unaware.


“This year, or this month, or, more likely, this very day, we have failed to practise ourselves the kind of behaviour we expect from other people.” — C.S. Lewis

Offline

#4 2005-01-19 19:33:35

jason
Member
From: USA
Registered: 2004-02-23
Posts: 85
Website

Re: Dean's MailTo Form

Go down through the plugin and find the part that looks like
== if ($go) {

mail($email, “[$sitename] $sender_subject”, $message, “From: $sender_email\r\n” .“X-Mailer: Textpattern\r\n” .“Content-Transfer-Encoding: 8bit\r\n” .“Content-Type: text/plain; charset=\“UTF-8\”\r\n”);

==

Edit it down to just $sender_email

Offline

#5 2005-01-19 19:40:25

jheyer
Member
Registered: 2004-09-04
Posts: 10
Website

Re: Dean's MailTo Form

Jason so it should be:

<code>
if ($go) {

mail($email, “[$sitename] $sender_subject”, $message,
“From: $sender_email\r\n”);
</code>

Is that correct?

Last edited by jheyer (2005-01-19 19:41:11)


“This year, or this month, or, more likely, this very day, we have failed to practise ourselves the kind of behaviour we expect from other people.” — C.S. Lewis

Offline

#6 2005-01-19 20:16:14

jheyer
Member
Registered: 2004-09-04
Posts: 10
Website

Re: Dean's MailTo Form

After looking at and trying out the zem_contact plugin I think I’ll be using this instead. It has a ton of options for things. Pretty nifty!

Thanks for your help guys.


“This year, or this month, or, more likely, this very day, we have failed to practise ourselves the kind of behaviour we expect from other people.” — C.S. Lewis

Offline

Board footer

Powered by FluxBB