Jump to content


Photo

how to setup the email function in php.ini


  • Please log in to reply
1 reply to this topic

#1 tkv

tkv
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 28 September 2005 - 04:12 PM

How can i run or setup email function on php.ini with windows server

do i need to setup pop3 and smtp on windows server before enable this function in the php.ini or ....

any suggestions will be great appreciated

regard,

#2 vulpine

vulpine
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 29 September 2005 - 12:40 AM

you can have an smtp service running on the server

then in the php.ini set under [mail function]

SMTP = localhost;your smtp server, localhost should be fine if the smtp server is on this computer
smtp_port = 25; or your mail port youre using
sendmail_from= user@domain; should be a user on the machine, i have mne set to webmaster and all mail sent from the mail function appears to come from webmaster at domain




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users