1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

PHP Mail Function

Discussion in 'Plesk for Windows - 8.x and Older' started by Psychoboy, Aug 11, 2004.

  1. Psychoboy

    Psychoboy Guest

    I can't get this to work... Can someone please tell me how to get this function to work?
  2. Good Idea

    Good Idea Guest

    Contact me.
    Yahoo IM : interkey2001
    Messanger : interkey@walla.co.il
    ICQ : 2573940

    Good Day,
  3. tdscom

    tdscom Guest

    For the rest of us, it would be great to post your solution to this forum as well.

  4. Good Idea

    Good Idea Guest

    --> Go to /%WindowsPath/
    -->Open PHP.INI
    Go to line 600 and then you will see that:
    ; For Win32 only.
    sendmail_from = admin@localhost

    -->Create email box,(e.g server@domain.com)
    -->Change this "admin@localhost" to "server@domain.com"
    -->Save the file and try to send in PHP mail function.

    Inform me.:D
    Best Regards,
  5. tdscom

    tdscom Guest

    It sounds good, thanks. :)
  6. Silence

    Silence Guest

    o yeahhhh ...

    This finally solved my problem:D
    i had problems with receiving email through different kinds of webforms but i changed in php.ini (in WiNNT) the localhost email to a excisting one ... problem solved!!
  7. Good Idea

    Good Idea Guest

    I'm Happy :)
  8. jahsh420

    jahsh420 Guest

    Do you just use any domain on the server? I am a bit confused what you mean by create email box server@domain.com? If I just use a random domain wont the mail appear to be coming from that domain? Sorry for the dumb question, I am new to windows administration.
  9. Silence

    Silence Guest

    Just use one excisting email adres as the local host adres..(ie. admin@yoursite.com)

    I do have several domains on server and it all works.

    I had the same problem and by changing admin@localhost to an excisting one.. problem solved... so give it a try :)