Developer Support »

SMTP error  (See more user questions)

Hi

You have this set:

$require_cookie = 1;

If you have this set, you must set the cookie on your form page. The
instructions are in the script for this. Try disabling it:

$require_cookie = 0;

In this case where you have been having problems, I wouldn't even think
about further configurations until I had got the script working first in its
basic state. If you are still having problems, give me the URL of your form
page.

Your attached script looks good (no synatx errors at any rate).

Best wishes.

Charles Sweeney
https://formtoemail.com
The world's easiest feedback script!

----- Original Message -----
Sent: Friday, September 12, 2008 8:18 PM
Subject: Re: Re: FormToEmail-Pro script


> Hi Charles,
>
> Thanks for that. I think that's solved it. Only trouble is now I'm getting
> a message asking me to enable cookies every time I try to send the form.
> I've enabled cookies but I'm still getting the message even after I
> restart IE7. I've never had this message before and I've never had trouble
> sending forms. Is there anything else in the script that may need
> adjusting? I've attached it again
>
> Regards
>>
>> Date: 2008/09/12 Fri PM 06:49:06 BST
>>
>> Hi
>>
>> You had a mistake here. You had this:
>>
>> mail($my_email,$subject,$message,$headers,
>> '-f'[email protected]);
>>
>> Should be this:
>>
>> mail($my_email,$subject,$message,$headers,'[email protected]');
>>
>> The quotes enclose -f and the email address.
>>
>> I have attached your correct script. See how it goes!
>>
>> Best wishes.
>>
>> Charles Sweeney
>> https://formtoemail.com
>> The world's easiest feedback script!
>>
>> ----- Original Message -----
>> Sent: Friday, September 12, 2008 5:01 PM
>> Subject: Re: Re: FormToEmail-Pro script
>>
>>
>> > Hello Charles,
>> >
>> > I couldn't see a syntax error but I'm not very experienced with php,
>> > though I do want to learn it. I've attached the exact file that I'm
>> > trying
>> > install and would much appreciate it if you could show me where I'm
>> > going
>> > wrong for future reference
>> >
>> > Thanks again for your help
>> >
>> > Regards
>> >>
>> >> Date: 2008/09/11 Thu PM 08:46:54 BST
>> >> Subject: Re: Re: FormToEmail-Pro script
>> >>
>> >> Hi
>> >>
>> >> Yes, the script is compatible with PHP 5.
>> >>
>> >> Good news. That error is a syntax error. It means you have made a
>> >> mistake
>> >> when editing it. Probably forgot a quote mark where you edited it.
>> >> If
>> >> you
>> >> can't find the error, attach a copy of your edited script to an email
>> >> and
>> >> I
>> >> will fix it for you.
>> >>
>> >> Best wishes.
>> >>
>> >> Charles Sweeney
>> >> https://formtoemail.com
>> >> The world's easiest feedback script!
>> >>
>> >> ----- Original Message -----
>> >> Sent: Thursday, September 11, 2008 7:24 PM
>> >> Subject: Re: Re: FormToEmail-Pro script
>> >>
>> >>
>> >> > Hi Charles,
>> >> >
>> >> > Thanks for your feedback. I did as instructed but still had no luck
>> >> > so
>> >> > I
>> >> > phoned the host. They asked me if the script was php version 5 and
>> >> > they
>> >> > directed me to the below link, which is pretty much what you
>> >> > suggested
>> >> >
>> >> > http://www.fasthosts.co.uk/knowledge-base/?article_id=70
>> >> >
>> >> > The email address is with fasthosts but everytime I try to send the
>> >> > form
>> >> > data I'm getting the following error message:
>> >> >
>> >> > Parse error: syntax error, unexpected T_STRING in
>> >> > E:\domains\m\\user\htdocs\formtoemailpro.php
>> >> > on
>> >> > line
>> >> > 1148
>> >> >
>> >> > Do you have any further suggestions that might help solve my
>> >> > problem?
>> >> >
>> >> > Thanks
>> >> >>
>> >> >> Date: 2008/09/07 Sun PM 12:45:20 BST
>> >> >> Subject: Re: FormToEmail-Pro script
>> >> >>
>> >> >> Hi
>> >> >>
>> >> >> Thank you for your purchase.
>> >> >>
>> >> >> You will need to add a line or two to the script code, due to being
>> >> >> on
>> >> >> Windows. Have a look at this page on my support section:
>> >> >>
>> >> >> https://formtoemail.com/developersupport/not_receiving_email.php
>> >> >>
>> >> >> Any questions, just let me know.
>> >> >>
>> >> >> Best wishes.
>> >> >>
>> >> >> Charles Sweeney
>> >> >> https://formtoemail.com
>> >> >> The world's easiest feedback script!
>> >> >>
>> >> >> ----- Original Message -----
>> >> >> Sent: Sunday, September 07, 2008 12:19 PM
>> >> >> Subject: FormToEmail script
>> >> >>
>> >> >>
>> >> >> > Comments: Hello,
>> >> >> >
>> >> >> > I bought the 'formtoemailpro' version earlier today and uploaded
>> >> >> > onto a
>> >> >> > website that I've recently built because I want a more secure
>> >> >> > script.
>> >> >> > I've
>> >> >> > just tried to test it out by sending the form info to my email
>> >> >> > address
>> >> >> > and
>> >> >> > I got two error messages which were:
>> >> >> >
>> >> >> > Warning: mail() [function.mail]: SMTP server response: 554
>> >> >> > <>: Recipient address rejected: Relay
>> >> >> > access
>> >> >> > denied
>> >> >> > in
>> >> >> > E:\domains\b\k\user\htdocs\formtoemailpro.php
>> >> >> > on line 1148
>> >> >> >
>> >> >> > Warning: mail() [function.mail]: SMTP server response: 554
>> >> >> > <>: Recipient address rejected: Relay
>> >> >> > access
>> >> >> > denied
>> >> >> > in
>> >> >> > E:\domains\b\\user\htdocs\formtoemailpro.php
>> >> >> > on line 1214
>> >> >> >
>> >> >> > The errors are not on any of the editable script so I was
>> >> >> > wondering
>> >> >> > whether there could be an error in the code
>> >> >> >
>> >> >> > Regards