Developer Support »

Email headers appearing in the body of the email  (See more user questions)

Hi

Thank you for your purchase (I don't see it in my records, what name did you
use?).

I can't recommend anything for the Pro version because I don't know how you
fixed the free version!!!!!

I haven't heard any replies to my other questions, other than you said you
got it working, but I haven't the foggiest idea what you did. I needed the
answers to my other questions, including the forwarded "bad" email so I
could tell what was wrong with your setup.

As it stands, I know nothing because you have told me nothing.

If you let me know the answers to my previous questions, I can take it from
there, but remember I said that a lot of the functionality of the Pro
version would be lost if you had a problem with your system accepting
headers.

Again, without knowing any more, I am only guessing here.

Please advise.

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

----- Original Message -----
Sent: Saturday, March 14, 2009 11:28 PM
Subject: Re: FormToEmail script


> Hello Again. I just purchased your pro form. Awesome script. Im getting
> the
> headers back in the body and before I start removing the lines that cause
> the issue, can you recommend anything with the pro version?
>
> Thnaks again!
>
>
> On 3/13/09 5:05 AM, "FormToEmail.com" wrote:
>
>> Hello again .
>>
>> Re my earlier reply. I see you have my free script already.
>>
>> Again, use it in its DEFAULT state. Try changing the line that sends the
>> email...this line:
>>
>> mail($my_email,$subject,$message,$headers);
>>
>> Change it to this:
>>
>> mail($my_email,$subject,$message,"From: $_REQUEST[email]");
>>
>> The second example uses the visitor-entered email address only, in the
>> header, like the sample code you gave me. It might be the case that
>> there
>> is a restriction on email headers on your email setup. I can only guess
>> at
>> that, the server admin should know.
>>
>> My script adds additional headers, depending on the email the script is
>> sending, plain text, HTML, attachments, encoding etc. There's nothing
>> fancy
>> about them, they are conventional headers. If it turns out you can only
>> send email with a simple From: header, then a lot of the functionality of
>> the Pro script (and any other mail script) will be lost to you.
>>
>> You could get yourself a proper host that supports PHP mail() properly,
>> then
>> you won't have any problems.
>>
>> Please let me know how it goes and please forward me a "bad" email.
>>
>> Cheers.
>>
>> Charles Sweeney
>> https://formtoemail.com
>> The world's easiest feedback script!
>>
>> ----- Original Message -----
>> Sent: Thursday, March 12, 2009 8:21 PM
>> Subject: Re: FormToEmail script
>>
>>
>>> All right! Progress! I was able to get this form scripts to work that
>>> doesn't insert the headers in the body. Due to my lack of what im doing
>>> in
>>> php I cant seem to find in your script what to change so I can use it.
>>> Can
>>> you take a peek and see? Almost got this puppy!
>>>
>>> Thanks again!!!
>>>
>>> http://
>>>
>>> Best,
>>>
>>>
>>>
>>> On 3/12/09 1:06 PM, "FormToEmail.com" wrote:
>>>
>>>> Hi .
>>>>
>>>> As far as I can tell, you're doing nothing wrong.
>>>>
>>>> Your feedback is much appreciated. I haven't had anyone else report
>>>> such
>>>> a
>>>> problem but all feedback is invaluable.
>>>>
>>>> Try the script on a different server.
>>>>
>>>> Did you say you got a script to work with your setup? Can you let me
>>>> see
>>>> it? I can guarantee you it will have settings specific to your server.
>>>>
>>>> Best wishes.
>>>>
>>>> Charles Sweeney
>>>> https://formtoemail.com
>>>> The world's easiest feedback script!
>>>>
>>>> ----- Original Message -----
>>>> Sent: Thursday, March 12, 2009 7:55 PM
>>>> Subject: Re: FormToEmail script
>>>>
>>>>
>>>>> Thanks Charles for all your assistance! Very generous. I did try your
>>>>> script
>>>>> in its detailed for and returned the same results. Must be on my
>>>>> servers
>>>>> end. The sent me the attached script to prove that it wasn't the
>>>>> server
>>>>> and
>>>>> what they created did not put the headers in the body. So I don't know
>>>>> what
>>>>> im doing wrong. When I figure this out I will gladly share the info
>>>>> incase
>>>>> any of your customers come across this issue.
>>>>>
>>>>> Best,
>>>>>
>>>>>
>>>>>
>>>>> On 3/11/09 4:03 PM, "FormToEmail.com" wrote:
>>>>>
>>>>>> Hi .
>>>>>>
>>>>>> Not sure if it's a factor, but the W3C HTML validator gave 33 errors
>>>>>> for
>>>>>> your form page!! Try it with a plain old ordinary humble everyday,
>>>>>> perfectly functional HTML doctype, or none at all for testing.
>>>>>>
>>>>>> Otherwise, your form code is good.
>>>>>>
>>>>>> I don't see any errors in your script, including the custom part you
>>>>>> put
>>>>>> in
>>>>>> to select the email recipients but I would enter a value for
>>>>>> $my_email
>>>>>> at
>>>>>> the top of the script. An email gets sent to that address, like a
>>>>>> "cover"
>>>>>> email, so better to put an address in there. That said, I can't
>>>>>> think
>>>>>> how
>>>>>> that would make the headers appear in the body.
>>>>>>
>>>>>> Have you tried the script in it's DEFAULT state? If there is the
>>>>>> remotest
>>>>>> doubt or hint of a problem, don't try anything fancy. Get it to work
>>>>>> in
>>>>>> its
>>>>>> most basic state first. That means just simply adding your email
>>>>>> address
>>>>>> to
>>>>>> the script. I have attached a fresh standard script for you to try,
>>>>>> should
>>>>>> you need it. Remember to make a backup of the one you coded. Your
>>>>>> coding
>>>>>> is spot-on there, don't want to lose it!
>>>>>>
>>>>>> I would say that the most likely culprit is the email server that is
>>>>>> sending
>>>>>> the email. They are something of a black art and a mystery to me,
>>>>>> they
>>>>>> can
>>>>>> be configured in many weird and wonderful ways. Need to see your
>>>>>> host
>>>>>> about
>>>>>> that. Can you try it on a different server?
>>>>>>
>>>>>> Any questions, just let me know.
>>>>>>
>>>>>> Best wishes.
>>>>>>
>>>>>> Charles Sweeney
>>>>>> https://formtoemail.com
>>>>>> The world's easiest feedback script!
>>>>>>
>>>>>> ----- Original Message -----
>>>>>> Sent: Wednesday, March 11, 2009 9:54 PM
>>>>>> Subject: Re: FormToEmail script
>>>>>>
>>>>>>
>>>>>>> Hey Charles. I checked it in gmail and hot mail and same results.
>>>>>>> Ive
>>>>>>> attached the files im workin with as well as the url. Maybe you can
>>>>>>> have
>>>>>>> a
>>>>>>> quick peek and see what im doing wrong? Thank you so much for your
>>>>>>> help!!
>>>>>>>
>>>>>>> http://
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 3/11/09 2:36 PM, "FormToEmail.com"
>>>>>>>
>>>>>>>> Hi
>>>>>>>>
>>>>>>>> Glad you like the script!
>>>>>>>>
>>>>>>>> I haven't heard of this before. To me, if the header is being
>>>>>>>> shown
>>>>>>>> in
>>>>>>>> the
>>>>>>>> body, then the problem is with the app that is reading the email.
>>>>>>>>
>>>>>>>> Try it with a Hotmail address in the $my_email variable. See if
>>>>>>>> that
>>>>>>>> displays the header in the body...it shouldn't.
>>>>>>>>
>>>>>>>> Any questons, just let me know.
>>>>>>>>
>>>>>>>> Best wishes.
>>>>>>>>
>>>>>>>> Charles Sweeney
>>>>>>>> https://formtoemail.com
>>>>>>>> The world's easiest feedback script!
>>>>>>>>
>>>>>>>> ----- Original Message -----
>>>>>>>> Sent: Wednesday, March 11, 2009 9:03 PM
>>>>>>>> Subject: Re: FormToEmail script
>>>>>>>>
>>>>>>>>
>>>>>>>>> Hello Charles, Thanks for responding. Great script by the way. Im
>>>>>>>>> working
>>>>>>>>> with my isp to try and figure this out. Any ideas? Has anyone had
>>>>>>>>> this
>>>>>>>>> similar issue? Thnaks for the help.
>>>>>>>>>
>>>>>>>>> Best,
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 3/11/09 1:59 PM, "FormToEmail.com"
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi
>>>>>>>>>>
>>>>>>>>>> Must be down to your email program. The script certainly doesn't
>>>>>>>>>> put
>>>>>>>>>> the
>>>>>>>>>> headers in the body!
>>>>>>>>>>
>>>>>>>>>> Charles Sweeney
>>>>>>>>>> https://formtoemail.com
>>>>>>>>>> The world's easiest feedback script!
>>>>>>>>>>
>>>>>>>>>> ----- Original Message -----
>>>>>>>>>> Sent: Wednesday, March 11, 2009 8:53 PM
>>>>>>>>>> Subject: FormToEmail script
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> Comments: hello, i was going to purchase your pro version but i
>>>>>>>>>>> am
>>>>>>>>>>> having
>>>>>>>>>>> a issue. why does email headers appear in the body of the email?
>>>>>>>>>>> if
>>>>>>>>>>> we
>>>>>>>>>>> can
>>>>>>>>>>> figure this out i will buy the pro.
>>>>>>>>>>>
>>>>>>>>>>> Thnk you!!!