Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: PHP Mail

  1. #1
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default PHP Mail

    Well I am currently having a problem with php emails.
    The message sends etc.., but the sender keeps coming up as
    [email protected] on behalf of [email protected]

    I have added Reply-To & Return-Path, but they don't fix it.
    Does anyone know what I need to add to the headers to make it so it says
    Title <[email protected]>

  2. #2
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    i think its header(From: [email protected]);
    How could this hapen to meeeeeeeeeeeeeee?lol.

  3. #3
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default

    Quote Originally Posted by Reconix View Post
    i think its header(From: [email protected]);
    Nope, didn't make any difference

  4. #4
    Join Date
    Jul 2005
    Posts
    1,653
    Tokens
    50

    Latest Awards:

    Default

    http://uk2.php.net/manual/en/function.mail.php

    You can't just paste in the header.

    Anyway, you should use PHPMailer

  5. #5
    Join Date
    Dec 2007
    Posts
    1,683
    Tokens
    0

    Latest Awards:

    Default

    header('From: [email protected]');

    Not sure if them apostraphee things help.

  6. #6
    Join Date
    May 2006
    Posts
    1,797
    Tokens
    0

    Latest Awards:

    Default

    u using the following format?

    PHP Code:
    <?php
    mail
    ("MESSAGE SUBJECT","TO","BODY","from: <[email protected]>");
    ?>
    Coming and going...
    Highers are getting the better of me

  7. #7
    Join Date
    Aug 2006
    Location
    Manchester, UK
    Posts
    2,016
    Tokens
    141
    Habbo
    florx

    Latest Awards:

    Default

    You should use SMTP anyway because PHP mail usually goes straight to spam.

  8. #8
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    You should use SMTP anyway because PHP mail usually goes straight to spam.
    Mine doesn't, aha.

  9. #9
    Join Date
    Aug 2006
    Location
    Manchester, UK
    Posts
    2,016
    Tokens
    141
    Habbo
    florx

    Latest Awards:

    Default

    Aha. How? Tell us your secret plz.

  10. #10
    Join Date
    Oct 2006
    Location
    Peterborough, UK
    Posts
    3,855
    Tokens
    216

    Latest Awards:

    Default

    Quote Originally Posted by FlorX View Post
    Aha. How? Tell us your secret plz.
    Mine doesn't either, it doesn't by default.


    visit my internet web site on the internet
    http://dong.engineer/
    it is just videos by bill wurtz videos you have been warned

Page 1 of 2 12 LastLast

Posting Permissions

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