Jump to content
Fórum Script Brasil
  • 0

AJUDA - FUNÇÃO MAIL !


Guest Ramon Bedin

Question

Guest Ramon Bedin

Olá pessoal estou tentando fazer um teste com a função mail e está ocorrendo o seguinte erro !

Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Wamp\www\Boomerang\Contato\Send.php on line 43

estou no trabalho, na minha casa vai normal mais aki não !

AJUDA HELP !

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
Guest Ramon Bedin

no php.ini a parte de email ta assim !

[mail function]

; For Win32 only.

SMTP = localhost

; For Win32 only.

sendmail_from = you@yourdomain

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").

;sendmail_path =

; Force the addition of the specified parameters to be passed as extra parameters

; to the sendmail binary. These parameters will always replace the value of

; the 5th parameter to mail(), even in safe mode.

;mail.force_extra_paramaters =

.

.

.

.

.

Ta certo isso ???

Link to comment
Share on other sites

  • 0
[mail function]; For Win32 only.

SMTP = localhost

smtp_port = 25

; For Win32 only.

;sendmail_from = me@example.com

; For Unix only. You may supply arguments as well (default: "sendmail -t -i").

;sendmail_path =

; Force the addition of the specified parameters to be passed as extra parameters

; to the sendmail binary. These parameters will always replace the value of

; the 5th parameter to mail(), even in safe mode.

;mail.force_extra_parameters =

Como você pode perceber, ficou faltando a linha ...

smtp_port = 25
Link to comment
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
Answer this question...

×   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.



  • Forum Statistics

    • Total Topics
      152k
    • Total Posts
      651.6k
×
×
  • Create New...