Sign in to follow this  
quinho

Ajuda Funcao Mail()?

Recommended Posts

Bom dia!!

Estou com dificuldades para executar meus programas php relativo a função mail(), quando executo aparce o seguinte erro:

Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\Arquivos de programas\EasyPHP 2.0b1\www\meusite\sugestao.php on line 17

Configurei a php.ini como

SMTP: SMTP.GMAIL.COM

e sendmail_from: [email protected]

Mesmo não funciona, alguém poderia me ajudar!!!!

Share this post


Link to post
Share on other sites

Seria bom você postar o conteúdo do arquivo sugestoes.php pra gente olhar direito, aproveita e posta o conteúdo do php.ini

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this