Home

   Home

   Download


Help

   FAQ

   Installation

   Message Board

   Importing Data File
   Into GoldMine
   Into Act


Other

   Testimonies

   Custom Programming

   PHP Version


Other Favorites

   Hire a clean comedian

   Bible Search Engine

   Bible in a Year

   Parallel Bible

   The Richer Life










 





[ Message Board Home ]    [ Post Reply ]    [ Log In ]    [ Sign Up ]



  Subject: Changing who the email is From
  Posted: 03/17/2004 at 12:01:34 am
  By: ykchee1

I'm having a problem with the "From" value. If I send an email to ykchee@yahoo.com, the "From" says "sales@yahoo.com", instead of "sales@wheatgrassjuicer.com.au". I've done the changes suggested in sendmail.cgi in one of the postings - ie for $SENDTOTHIS. Is there anything else I can do? Thanks very much!



  Subject: Re: Changing who the email is From
  Posted: 03/17/2004 at 6:04:46 am
  By: Seth Knorr

Are you talking about the autoresponse email that goes out or the email that get the results of the form back.

Seth



  Subject: Re: Changing who the email is From
  Posted: 03/17/2004 at 6:22:54 am
  By: ykchee1

I'm talking about the email that get the results of the form back.

By the way, thanks very much for such an excellent piece of software!



  Subject: Re: Changing who the email is From
  Posted: 03/17/2004 at 7:54:28 am
  By: Seth Knorr

Ok, there is no setting for this. It is set to default as the email address entered on the form as <input name="email">

Remember the from email USHUALY has to be different from the to email, or NO EMAIL WILL BE SENT. This is all dependent on your server configuration. With that in mind.

If using SMTP,
You could change this by editing smtp.cgi.

Line 87
$smtp->mail($formdata{'email'});

Line 92
$smtp->datasend("From: $formdata{'email'}\n");

JUST REPLACE: $formdata{'email'}

WITH THE EMAIL YOU WANT FORM POST TO BE FROM. REMEBER, DON'T FORGET THE \ BEFORE THE @ SIGN IN THE EMAIL.

EXAMPLE: email\@domain.com

Seth



  Subject: Re: Changing who the email is From
  Posted: 03/17/2004 at 7:55:26 am
  By: Seth Knorr

One other thing it would be easiest to open smtp.cgi in notepad and then just click on:

->EDIT
-> GO TO...

AND THEN ENTER THE LINE NUMBER

Seth



  Subject: Re: Changing who the email is From
  Posted: 03/17/2004 at 5:12:19 pm
  By: ykchee1

I'm using sendmail.cgi, actually so I changed line 68: {From => $mail_sendto,} to {From => "sales\@wheatgrassjuicer.com.au",}

That works beautifully!! Thanks very much!



Reply To This Topic

Subject
Message  
Username
Password
Due to unrelated post's, you must have an
account to post a message. To Sign Up click here.




Copyright 2000-2010 Seth M. Knorr,
BizMailForm.com Forms Processor, All Rights Reserved