E-mail form problem.

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Denis Parshutin
Posts: 15
Joined: Wed 7. Jan 2004, 07:23
Contact:

E-mail form problem.

Post by Denis Parshutin »

Hi all!

First of all I have to say THANKS all who helped me to create this little site

http://www.tigra.us/index.php

But not all desired things works. :(

Look please at http://www.tigra.us/index.php?contacts

I did it with those fields in form:

IT|fname|1|First Name: |40,100||300
IT|lname|1|Last Name: |40,100||300
IT|title|0|Your Title: |40,100||300
IT|company|0|Company Name: |40,100||300
IT|address|0|Address: |40,100||300
IT|city|0|City: |40,100||300
IT|state|0|State: |40,100||300
SC|country|0|Country: |10,100|US|300
IT|tel|0|Phone: |40,100||300
IT|fax|0|Fax: |40,100||300
IT|website|0|Website: |40,100||300
IT|email|1|Email: |40,100||300
TA|msg|0|Message: |20,8||300
IH|redirect|0||10,100|http://www.tigra.us/index.php?form_success|0
IH|redirect_error|0||10,100|http://www.tigra.us/index.php?form_failed|0
IH|send_copy|0||10,100|1|0
recipient is set as: info@tigra.us

So, I goto http://www.tigra.us/index.php?contacts
fill all (or only required) fields in form and then...
I recieve this confirmation message in to mailbox I pointed in form:


Form was sent: 2004-02-03, 22:08:41
You can find the original form here:
http://www.tigra.us/index.php?contacts

====================================================================

Recipient: info@tigra.us

====================================================================

Information Request
--------------------------------------------------------------------
fname..: Denis
lname..: Parshutin
title..:
company:
address:
city...:
state..:
country: US
tel....:
fax....:
website:
email..: den@i-house.ru
msg....:
type...: 1

====================================================================
phpwcms formmailer | Copyright (C) 2003
Ohhh... BUT I DONT RECIEVE ANY MAIL to main request address i.e.
info@tigra.us


Any ideas???

Thanks in advance.
Denis Parshutin
Posts: 15
Joined: Wed 7. Jan 2004, 07:23
Contact:

Post by Denis Parshutin »

I fixed it, ignoge last post.


But... My appetite continue extend....


could I use redirection after form and use part of values from form?

example:

congrats, Mr Neo!!! und so weiter

where Mr Neo value customer fill in email form....

Thank in advance!
mdgroot
Posts: 155
Joined: Wed 11. Feb 2004, 17:47
Location: Netherlands

Post by mdgroot »

BTW; What was the problem not receiving email, because I've the same problem right now ... :cry:
Denis Parshutin
Posts: 15
Joined: Wed 7. Jan 2004, 07:23
Contact:

Post by Denis Parshutin »

so I fix this.

act_formmailer.php
Line 196

if(isset($send_copy_to)) {
$from = "From: ".$send_copy_to."\n";
if(!ini_get('safe_mode')) {
mail($send_copy_to, $subject, $body, "From: ".$recipient."\n", "-f ".$recipient);
} else {
mail($send_copy_to, $subject, $body, "From: ".$recipient."\n");
}
} else {
$from = "From: ".$send_copy_to."\n";
}
if(!ini_get('safe_mode')) {
mail($recipient, $subject, $body, "From: ".$send_copy_to."\n", "-f ".$send_copy_to);
} else {
mail($recipient, $subject, $body, $from);
}


Thats all.
mdgroot
Posts: 155
Joined: Wed 11. Feb 2004, 17:47
Location: Netherlands

Post by mdgroot »

Hmm, I changed it. But it does not solve a thing....
I filled in my form a thousand times, but still don't receive any mail ....
colech
Posts: 178
Joined: Thu 25. Mar 2004, 01:01
Location: Washington, USA
Contact:

Post by colech »

make sure that the email isn't going into your junk mail folder... for example if you have a spam filter set up on your email.
while !sleeping {
work_on(phpwcms);
}
// Check out our web development company!
// "Your business has character... don't hide it!"
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

colech wrote:make sure that the email isn't going into your junk mail folder... for example if you have a spam filter set up on your email.
better late then never,....

it was posted feb 2004 :D
http://www.studmed.dk Portal for doctors and medical students in Denmark
colech
Posts: 178
Joined: Thu 25. Mar 2004, 01:01
Location: Washington, USA
Contact:

Post by colech »

:)

It is for the good of the people... others can learn from it?!
while !sleeping {
work_on(phpwcms);
}
// Check out our web development company!
// "Your business has character... don't hide it!"
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

colech wrote::)

It is for the good of the people... others can learn from it?!
yeah we could hope - but I guess more then 5o% of the post could be solved if ppl would use the search function - but they don´t....
http://www.studmed.dk Portal for doctors and medical students in Denmark
colech
Posts: 178
Joined: Thu 25. Mar 2004, 01:01
Location: Washington, USA
Contact:

Post by colech »

AMEN to that ! By the way Frold, I really appreciate your input on this board. I have gained some awesome insight into the depths of phpWCMS by your comments. I have learned a lot since I join the phpWCMS community. Thanks and have a groovin' Friday.
while !sleeping {
work_on(phpwcms);
}
// Check out our web development company!
// "Your business has character... don't hide it!"
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

colech wrote:AMEN to that ! By the way Frold, I really appreciate your input on this board. I have gained some awesome insight into the depths of phpWCMS by your comments. I have learned a lot since I join the phpWCMS community. Thanks and have a groovin' Friday.
Thanks colech ! :D

and my previous post was just meant to be a small sticky to all the ppl asking before using the search function...

there is more then 29415 replies on this board!
http://www.studmed.dk Portal for doctors and medical students in Denmark
Post Reply