Visualizzazione dei risultati da 1 a 2 su 2
  1. #1
    Utente di HTML.it
    Registrato dal
    May 2004
    Messaggi
    55

    funzione mail() - mail server

    ho provato ad usare la funzione mail() di php..
    durante l'esecuzione ricevo un errore

    Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing in c:\programmi\apache group\apache\htdocs\prove\665passwd\register.php on line 123


    giustamente non ho un mail server installato.. come faccio?
    c'è un modo per fare tutto in locale e simulare l'invio e la ricezione di email?

  2. #2
    modifica il file php.ini qui:

    [mail function]
    ; For Win32 only.
    SMTP = smtp.dove_hai_email.it

    ; For Win32 only.
    sendmail_from = tua@email.it
    There are 10 types of people in the world: Those who understand binary, and those who don't.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.