Moderated by: FocalMedia Team, Miles, Gerrit, Rian

FocalMedia.Net Forums » Other »  Free Scripts

Page: 1 of 1

« Back to Topic Index Page 1 | Replies: 2

 Author  Topic: FMSiteMail Question(s)
dcavern

New Member
  

    
Post a Reply To This Topic    Reply With Quotes     Edit Message     View Profile of dcavern  Posted on: Mar 24, 2008 - 2:14am
I've looked around and find nothing relating to this so i'm posting in hopes someone can tell me what I have configured incorrectly...

Both e-mails are sent correctly. The one to me, and the autoresponse to the user submitting the form.

The one to me, from the form, is as it should be. From name, Subject, everything in the mail received is correct.

The autoresponse however, is 'confused.'

The "From" field is comprised of Name@domain.com (example: The user enters his name as Joe User. His e-mail address is doesntmatter@yahoo.com. The From on the autoresponse message is: Joe@yahoo.com. Note that only the string up to the first whitespace is preserved) It should be the value I set in $fromemail yes?

The From name is the same as the address as stated above:

Joe@yahoo.com

where it should be:

Joe User

The Subject of the autoresponse is the same subject as the message admin receives from the form submission. Again, should be $mail_subject yes?

It appears the three values:

$sendername
$fromemail
$mail_subject

...are not being passed correctly to the autoresponse sub.

I know basically nothing about cgi so I am at a loss....

I hope I've been as clear as mud in describing my problem...

Anyone have any suggestions? Thanks in advance!




Total Posts: 2 | Joined: Mar 24, 2008 - 1:36am | IP Logged

FocalMedia Team

Moderator
  

    
Post a Reply To This Topic    Reply With Quotes     Edit Message     View Profile of FocalMedia Team  Posted on: Mar 24, 2008 - 12:16pm
This is normally due to your mail server being configured that way.

Something you can try to bypass this is to run setup.cgi and where the path to the sendmail program is specified change it so that it looks like this:
/usr/sbin/sendmail -f

So in other words you just add an -f parameter to the end of the path to the sendmail program inside setup.cgi

Miles



Total Posts: 1445 | Joined: Jul 27, 2002 - 4:28am | IP Logged

dcavern

New Member
  

    
Post a Reply To This Topic    Reply With Quotes     Edit Message     View Profile of dcavern  Posted on: Mar 27, 2008 - 6:58pm
Thank you for your response. I had to wait for my dns to propagate as my hosting server was just moved, hence my delay in responding.

When I append the -f to the sendmail path, NO mail is sent out, not the autoresponse OR the admin mail containing the form contents.

I am pretty sure (like you say) it is configured this way. If you may suggest what needs to be changed, my host is pretty receptive to suggestions I make. If I was to suggest a change to his config, he would probably do it, but I don't know what to suggest to him.

The platform information is:

Linux Kernel 2.6.18-028stab053.6
Apache Version: 2.2.6
PERL: 5.8.5

I realize there is no support for this free script and I do appreciate your previous response!

Thank you,
Kevin Murie



Total Posts: 2 | Joined: Mar 24, 2008 - 1:36am | IP Logged


Lock Topic

 

Forum Legend

New Member

Reply to topic

More than 50 posts | Member

Reply to topic with quoted message

More than 100 posts | Full Member

Edit Message

More than 150 posts | Advanced Member

View profile

More than 200 posts | Advanced Member

Email member