Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1

    Default unsaon pagsend ug mail sa email using php?

    dli muwork ang mail(..........);
    kay kailangan daw mailserver

  2. #2

    Default unsaon pagupload/download sa file using php code?

    ako style is mysql blob.
    but ang prob kay sa pagdownload sa file nga naka sulod na sa database

  3. #3

    Default

    <?php

    $to = 'youraddress@example.com';
    $subject = 'Test email';
    $message = "Hello World!\n\nThis is my first mail.";
    $headers = "From: webmaster@example.com\r\nReply-To: webmaster@example.com";
    $mail_sent = @mail( $to, $subject, $message, $headers );
    echo $mail_sent ? "Mail sent" : "Mail failed";
    ?>

  4. #4

    Default

    Quote Originally Posted by markytrigger View Post
    dli muwork ang mail(..........);
    kay kailangan daw mailserver
    exactly, di jud na mu work if wala kay mail server. kailangan ka ug mail server para maka send ka ug emails.

  5. #5

    Default

    hey, marky, heard of phpmailer? go, google it!

  6. #6

    Default

    Are you running your webserver locally? Im guessing yes cause if its a paid host or online host then it should have mail server running already.

    Anyway, follow ChaosOrb suggestion and use phpmailer to send via smtp. You can use ISP's smtp setting or even use your gmail account or any email which allows pop3.

    Or if you want to be more adventurous and want to learn more, install mail server in your machine

    Quote Originally Posted by markytrigger View Post
    dli muwork ang mail(..........);
    kay kailangan daw mailserver

  7. #7

    Default

    di jud na mo work kung naa rako sa localhost except ug stmp supported imo localhost

  8. #8

    Default

    gamit ug argosoft mailserver bay, simple ra ayu nya maka send ka sa lain nga domains like yahoo and gmail....

  9. #9

    Default

    function send_mail ($sender, $message, $subject)
    {
    $headers = "From: $sender <$sender>" . "\r\n" .
    "To: ".$this->to . "\r\n";

    if (!empty($this->cc))
    $headers .= "Cc: ".$this->cc;

    if (mail($this->to, $subject, $message, $headers))
    return 1;
    else
    return 0;
    }

  10. #10

    Default

    murag dili man na mu work if naa raka sa localhost.

Page 1 of 2 12 LastLast

Similar Threads

 
  1. Unsaon pagpangita ug taw sa comelec list???
    By twobol2002 in forum General Discussions
    Replies: 4
    Last Post: 02-15-2009, 10:54 PM
  2. Replies: 11
    Last Post: 03-02-2008, 12:38 AM
  3. Replies: 4
    Last Post: 02-25-2008, 08:32 AM
  4. Replies: 1
    Last Post: 12-29-2007, 01:21 PM
  5. Unsaon pagkuha ug bios sa imong PS2 ngadto sa computer?
    By dmaster999 in forum Software & Games (Old)
    Replies: 0
    Last Post: 05-15-2006, 08:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top