Feedback Form Help! Please trying to use X-Mailer Resolved

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Feedback Form Help! Please trying to use X-Mailer Resolved
xtrax1
CZ Active Member
 Codezwiz Site Donator
xtrax1 has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Feb 18, 2005
0.02 posts per day
Posts: 107
Points: 3,824
   
Is there a way to switch the feedback form to use the PHP X-Mailer instead of using the $to=$adminemail;

Reason l ask is lm on a virtual server running apache and my host provider gave me an inclusion to the PHP X-mailer to get my feedback form working....

any help would be appreciated.


XtraX1



Back to top Reply with quote
#2   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
You just have to rewrite the send function. More then likey its using mail().




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: Feedback Form Help! Please trying to use X-Mailer
xtrax1
CZ Active Member
 Codezwiz Site Donator
xtrax1 has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Feb 18, 2005
0.02 posts per day
Posts: 107
Points: 3,824
   
Thank you telli and yeah thats what it's using it's the standard feedback form that comes with PHPnuke ..

Do you know what the code would be I need to put in to achieve this..

PS: If I didnt say thanks Telli I appreciate all your help.



Back to top Reply with quote
#4   re: Feedback Form Help! Please trying to use X-Mailer
xtrax1
CZ Active Member
 Codezwiz Site Donator
xtrax1 has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Feb 18, 2005
0.02 posts per day
Posts: 107
Points: 3,824
   
Is there anyone who can help me with this modification and if so please as l need this badly.


XtraX1 icon_smile.gif



Back to top Reply with quote
#5   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
You just add the PHP X-Mailer into the headers. Attach the index file i will add it and you can test it.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#6   re: Feedback Form Help! Please trying to use X-Mailer
xtrax1
CZ Active Member
 Codezwiz Site Donator
xtrax1 has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Feb 18, 2005
0.02 posts per day
Posts: 107
Points: 3,824
   
Thank you telli I appreciate your time and expertise! icon_biggrin.gif

here is the file



Attached Files
index.zip (1.55 KB, Downloaded: 5234 Time(s))


Back to top Reply with quote
#7   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
Give this one a try.



Attached Files
xtrax1.zip (1.58 KB, Downloaded: 5233 Time(s))



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#8   re: Feedback Form Help! Please trying to use X-Mailer
xtrax1
CZ Active Member
 Codezwiz Site Donator
xtrax1 has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Feb 18, 2005
0.02 posts per day
Posts: 107
Points: 3,824
   
Humm... not sure telli I uploaded the file and put my name and e-mail addy and short test message and when I hit submit it says it sent but I didn't get anything.

Not sure so I tested it again with another e-mail addy this time and hit send and again nothing came threw...

Any other suggestions Telli! icon_biggrin.gif



Back to top Reply with quote
#9   re: Feedback Form Help! Please trying to use X-Mailer
xtrax1
CZ Active Member
 Codezwiz Site Donator
xtrax1 has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Feb 18, 2005
0.02 posts per day
Posts: 107
Points: 3,824
   
Well I found out why it didnt send my host company says I need to add this

<?php

include ("Mail.php");
$recipient="me@example.com";
$headers["To"]="Me <me@example.com>";  $headers["From"]="Form Submission <sender@example.com>";  $headers["Subject"]="One test message";  $body="Hi,\nThis is just a test.";

$params["host"] = "localhost";
$params["port"] = "25";

$mail_object =& Mail::factory("smtp",$params);  $mail_object->send($recipient,$headers,$body);

?>


Because I'm on a virtual host so my next question is how do I add this to use the X-mailer ..

Xtrax1 icon_wink.gif


Back to top Reply with quote
#10   re: Feedback Form Help! Please trying to use X-Mailer
xtrax1
CZ Active Member
 Codezwiz Site Donator
xtrax1 has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Feb 18, 2005
0.02 posts per day
Posts: 107
Points: 3,824
   
I've tryed what they suggest but I seem to be still stuck any ideas..?

XtrAx icon_biggrin.gif



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum