Hi Guys,
I've set up a contact email form.  It sends the information fine, but it sends it to the junk folder.
If I just use this command:
$headers = "MIME-Version: 1.0 n";
It will send it to my inbox folder.  If I use any other command after it in the $headers variable it will then send it to my junk folder.
Here is the full code I'm using:
Code: $to = "notanotherperson@hotmail.com";
         $subject = $title;
         $message  = "<html><body>";
         $message .= "<div style='border: 1px #ccc solid; padding: 5px; width: 100%; text-align: center'>";
         $message .= "<b>Message From ". $name ."</b></div><br />";
         $message .= "<div style='border: 1px #ccc solid; padding: 10px'>";
         $message .= "Dear Emma,<br /><br />";
         $message .= "<span>".$mess."</span></div>";
         $message .= "</body></html>";
         $headers = 'MIME-Version: 1.0' . "n";
         $headers .= "From: ".$name."<".$email.">n";
             $headers .= "Reply-To: ".$name."<".$email.">n";
             $headers .= "Return-Path: ".$name."<".$email.">n";
         $headers .= "cc: ". $name . "<".$email.">n";
             $headers .= "X-Mailer: Drupaln";
             $headers .= "Content-type: text/html; charset=iso-8859-1" . "n";
            
         mail($to, $subject, $message, $headers);
Thanks
styling a RadioButtonList
HiI need to have a radio button and close to it, its lable, then a space then another set of those. I have the relevent html but not able to come up with the css. please helpthxview plaincopy to
Sending UDP Raw socket
I truly need help on this. I am trying to write a test program that simulate a network environment that have 5 clients and 1 server. To do so, I need to be able to edit IP header to change it's
Motivational Posters
Hello,I wonder how can i do them in php. Are there any sample codes that you can show me?thanks in advance
modifying query string with no page refresh
Hi everybody,I've tried to get info about my problem all over the internet but i didn't find out what I need.The question is: how can I modify the querystring in PHP with no page refresh?Facebook uses
reading xml faster than DB call?
I am trying to optimize a high traffic website, and I enabled a feature where there are three photos selected from the most recently submitted ones, and displayed at the top of the page. I figured
PHP mail() with images
I'm trying to get images to send along with my HTML e-mail sent through PHP mail(). I only tried viewing the e-mail through google mail and thunderbird, google mail showed the image but thunderbird
update sql when refresh - php
hiI have made a table (attachement)the users can update the sql database using + or x buttons.My problem is that the last row under value2 decreases by one everytime i refresh the page. How do i
Else statement screws up all css
Does anyone know what goes wrong in the process with this php code?This code seems to be causing it: <?PHP } else { echo " <div
Writing to the middle of a file
Hi I have a bit of a problem. Is there any way i can write some text to a middle of a text file. For instance on line 20? I know how to write text to the bottom of the file but not how i can get it to
Pspell with my own dictionary
Hello!I've tested two cases using pspell functions.1)Code: $dictionary_link = pspell_new_personal ("/.../MyDict","es", "", "", "",