Results 1 to 7 of 7

Thread: [localhost] Send Email

  1. #1
    Join Date
    Feb 2009
    Posts
    73
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default [localhost] Send Email

    Guyz, I really really need your help.

    I wanna build a website with PHP and Oracle, but I don't know how to make a hosting for my site at my own office.

    The second one is :
    I wanna send email using the mail() function from my localhost, but it seems not working at all.
    can anybody help me?

    I've already browsing everywhere, but I don't find any solution for this stuff

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Google around for localhost email servers, here's one I found: http://www.phpeasystep.com/phptu/23.html

  3. #3
    Join Date
    Feb 2009
    Posts
    73
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    I've tried this one too, but it's only can send email to me@localhost (can't send to others)

    I really appreciate your help palz, any suggestion bro?

  4. #4
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Oh ok, how about this one: http://www.softstack.com/freesmtp.html

  5. #5
    Join Date
    Feb 2009
    Posts
    73
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    I can't download this stuff..

  6. #6
    Join Date
    Feb 2009
    Posts
    73
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    can anyone download that ?
    I really need your help bro

  7. #7
    Join Date
    Feb 2009
    Posts
    73
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    finally, I can download this stuff palz..

    I have an error too :
    Warning: mail() [function.mail]: SMTP server response: 550 Invalid recipient: bungkusan88@yahoo.com in F:\PHP\mail.php on line 9

    Fatal error: Maximum execution time of 60 seconds exceeded in F:\PHP\mail.php on line 9
    The code is like this :
    <?php
    $to = 'bungkusan88@yahoo.com';
    $subject = 'the subject';
    $message = 'hello';
    $headers = 'From: support@bungkusan.com' . "\r\n" .
    'Reply-To: support@bungkusan.com' . "\r\n" .
    'X-Mailer: PHP/' . phpversion();

    $sentmail = mail($to, $subject, $message, $headers);

    // if your email succesfully sent
    if($sentmail){
    echo "Email Has Been Sent .";
    }
    else {
    echo "Cannot Send Email ";
    }

    ?>

Bookmarks

Posting Permissions

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