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

PHP Mail Function

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

  1. Psychoboy

    Psychoboy Guest

    0
     
    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

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

    Good Day,
    Tamir.
     
  3. tdscom

    tdscom Guest

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

    Thanks.
     
  4. Good Idea

    Good Idea Guest

    0
     
    --> 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,
    :D
     
  5. tdscom

    tdscom Guest

    0
     
    It sounds good, thanks. :)
     
  6. Silence

    Silence Guest

    0
     
    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

    0
     
    I'm Happy :)
     
  8. jahsh420

    jahsh420 Guest

    0
     
    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

    0
     
    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 :)
     
Loading...