Developer Support »

Not receiving email from certain hosts  (See more user questions)

Hi

Glad you got it fixed!

That questions seems similar to the question I answered below, with some
custom coding.

Are you wanting this over and above the previous code? Aren't you using the
previous code?

Best wishes.

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

----- Original Message -----
Sent: Tuesday, May 12, 2009 12:44 PM
Subject: RE: FormToEmail-Pro script


Hi Charles,

I started again from scratch and it now seems to be working, I don't know
where I got it wrong the first time!

I'd like to ask one last question, I'm trying to make the redirect depending
on the answers to 2 questions (ie. Like_the_website==yes plus
great_content==yes) but I don't know how to sum the two values (I-m just
starting with PHP as you can see, I'm better designer than programmer!)

Thanks a millios,

-----Mensaje original-----
Enviado el: miércoles, 06 de mayo de 2009 18:08
Asunto: Re: FormToEmail-Pro script

Hi

Hope all is well with you.

Doesn't sound like you are doing anything wrong.

What happens when you test it? What do you get on the screen? Get any
errors?

If you give me the URL of your test form and attach your edited script, I
will take a look at them.

Best wishes.

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

----- Original Message -----
Sent: Wednesday, May 06, 2009 11:43 AM
Subject: RE: FormToEmail-Pro script


> Hi Charles,
>
> It's me again, sorry, but I'm trying to do the auto-redirect but it's not
> working. I've tried with a formtomailpro.php file from scratch just
> changing
> the email, the auto-redirect set to 1 and added the URL (Not yet modifying
> anything of what you mention below.)
>
> Am I doing something wrong? Thanks.
>
> -----Mensaje original-----
> Enviado el: martes, 28 de abril de 2009 13:32
> Asunto: Re: FormToEmail-Pro script
>
>
> As a rule, I don't do custom coding, but I can make small changes to the
> script for customers like yourself, free of charge.
>
> You will, naturally, need to put an input field of some sort on your form.
> Lets suppose it's a drop-down menu like so:
>
> <select name="like_the_website">
> <option>Yes</option>
> <option>No</option>
> </select>
>
> Then in the script, you will need to edit the code. Delete this line:
>
> if($auto_redirect){header("location: $redirect_url"); exit;}
>
> Replace it with this code:
>
> if($auto_redirect)
> {
>
> if(isset($_REQUEST['like_the_website']) && $_REQUEST['like_the_website']
> ==
> "Yes"){header("location: http://www.example.com/yes.html"); exit;}
>
> if(isset($_REQUEST['like_the_website']) && $_REQUEST['like_the_website']
> ==
> "No"){header("location: http://www.example.com/no.html"); exit;}
>
> }
>
> Change the redirect location URLs above to suit.
>
> You will still need to enable the autoredirect option in the script, like
> so:
>
> $auto_redirect = 1;
>
> You will NOT need to enter a redirect URL in $redirect_url as you are
> hard-coding the redirect URLs in the code above.
>
> Any questions, just let me know.
>
> Best wishes.
>
> Charles Sweeney
> https://formtoemail.com
> The world's easiest feedback script!
>
> ----- Original Message -----
> Sent: Tuesday, April 28, 2009 10:39 AM
> Subject: RE: FormToEmail script
>
>
>> Hi Charles, thanks for your response.
>>
>> Do you provide custom coding services? :)
>>
>>
>> -----Mensaje original-----
>> Enviado el: lunes, 27 de abril de 2009 20:27
>> Asunto: Re: FormToEmail script
>>
>> What in the code is the error, according to your host??? You can tell
>> them
>> I have countless thousands of users who use it without a problem (because
>> it
>>
>> doesn't contain errors).
>>
>> No, the script cannot redirect based on entered criteria. This is a
>> custom
>> coding job.
>>
>> It is obviously the email address that is giving the problem. You can
>> see
>> this for yourself. It works perfectly wel with other email addresses, so
>> guess what???? The problem is the email address.
>>
>> You need to get a proper host, I can't fix your server for you.
>>
>> Best wishes.
>>
>> Charles Sweeney
>> https://formtoemail.com
>> The world's easiest feedback script!
>>
>> ----- Original Message -----
>> Sent: Monday, April 27, 2009 6:47 PM
>> Subject: RE: FormToEmail script
>>
>>
>>> Hi Charles, Thanks for your promt reply!
>>>
>>> Apparently it's not ending in the junk folder and the host is pointing
>>> to
>>> the code as the error, I'm going mad with this issue!
>>>
>>> In a different point, I need to create a form in which depending on the
>>> answer to certain questions they are redirected to a different thank you
>>> page; for ecample, if the responded: yes I like your website, they are
>>> redirected to a page saying "Thanks" while if they said no, they are
>>> redirected to a different page... Is this something that we can do with
>>> your
>>> script? Thanks in advance!
>>>
>>>
>>> -----Mensaje original-----
>>> Enviado el: lunes, 27 de abril de 2009 18:11
>>> Asunto: Re: FormToEmail script
>>>
>>> Hi
>>>
>>> Good to hear from you.
>>>
>>> I have heard of all sorts of weird and wonderful things happening with
>>> email! You really need to ask the host about it. Sure the emails
>>> aren't
>>> ending up in a junk folder?
>>>
>>> Best wishes,
>>>
>>> Charles Sweeney
>>> https://formtoemail.com
>>> The world's easiest feedback script!
>>>
>>> ----- Original Message -----
>>> Sent: Monday, April 27, 2009 1:25 PM
>>> Subject: FormToEmail script
>>>
>>>
>>>> Comments: Hi Charles,
>>>>
>>>> I have an issue with the Form to email script. I'm using the script in
>>>> a
>>>> website called: .com.
>>>>
>>>> The hosting is on a different server than the email and somehow the
>>>> forms
>>>> is not working for the emails of .com, instead it's working
>>>> properly for any other email. We have tried enabling and disabling the
>>>> referer in the code but no change. Have you seen this before? Thanks
>>>> for
>>>> your advise.
>>>>
>>>>
>>>> Kind Regards,