[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] JSP and reply-to adress



Hi,

I am happily running a raq4, and a second one is on its way :)

Anyway, I'm having trouble by defining the reply-to adress by using PHP
for forms.

Let me give an example:

mail("$aanvragerEmail", "$antwoordonderwerp", $bevestiging,
	 "From: polleur@xxxxxxxxx\nReply-To: polleur@xxxxxxxxx\nX-Mailer:
PHP/" . phpversion());
  mail("$emailmaster", "$onderwerp", $aanvraag,
     "From: $email\nReply-To: $email\nX-Mailer: PHP/" . phpversion());

where the $ (variables) are perfect filled with data.

But what do I get when I fill in the form, and send it. ?

The reply-to adress is root@xxxxxxxxxxxxxxxxxxxxx

It gets even better, I use the exact same code for another domain hosted
on the RAQ, and that one works perfectly.

mail("$email", "$antwoordonderwerp", $bevestiging,
	 "From: polleur@xxxxxxxxx\nReply-To: polleur@xxxxxxxxx\nX-Mailer:
PHP/" . phpversion());
  mail("$emailmaster", "$onderwerp", $aanvraag,
     "From: $email\nReply-To: $email\nX-Mailer: PHP/" . phpversion());

Can anyone give me a clue?

Second question:

My programmer wants to play with JSP, is there some kind of engine
available for RAQ4i? In other words, how do I setup apache to serve
index.jsp ?

Tnx in advance,

Hans Buis
hans@xxxxxxxxxx
www.framers.nl