Find the answer to your Linux question:
Results 1 to 3 of 3
Hi! In my php scripts i'm using the mail() function. The mail what i'm sending is tagged as spam in other computter. Why? This part of script: Code: $headers="From: my@host.com\r\n"."Content-Type: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! ram_88's Avatar
    Join Date
    Nov 2006
    Location
    /europe/sr/vojvodina/kishegyes
    Posts
    21

    spam


    Hi!
    In my php scripts i'm using the mail() function. The mail what i'm sending is tagged as spam in other computter. Why? This part of script:
    Code:
    $headers="From: my@host.com\r\n"."Content-Type: text/html; charset=utf-8\r\n"."Content-Transfer-Encoding: 8bit\r\n\r\n";
    mail($to,$subj,$msg,$headers)
    echo "<font face='tahoma' size='2'   echo "<font face='tahoma' size='2' color='#ffffff'>Mail --$msg-- sent: $to</font><br><br>";
    sorry beacuse my english

  2. #2
    Linux Newbie
    Join Date
    Dec 2006
    Posts
    105
    It does so.. if the server uses SMTP to send emails..
    Unix, Linux tips...

  3. #3
    Just Joined! ram_88's Avatar
    Join Date
    Nov 2006
    Location
    /europe/sr/vojvodina/kishegyes
    Posts
    21
    Yes, the server uses SMTP.
    Can you help me?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •