Jump to content


Photo

How to send Email in PHP5 using Apache Server


  • Please log in to reply
1 reply to this topic

#1 debajyoti123

debajyoti123
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 16 July 2006 - 07:26 AM

Hello All,
              I am a very new a member.I want to know how to run Mail programs in PHP.Like we have the SMTP server in the IIS, we can run email programs in PHP using IIS.
I want to learn how to run mail programs in Apache server.

#2 masgas

masgas
  • Members
  • PipPipPip
  • Advanced Member
  • 64 posts

Posted 02 August 2006 - 03:57 PM

Hi, listen I am quite new to all this, but I configured my php.ini and got the mail () function working ok...

So if you want to try this, go ahead:

[mail function]
; For Win32 only.
SMTP = smtp.onobox.com  (set here your SMTP)
smtp_port = 25    (This is the port I use, I guess nothing should be changed here)

; For Win32 only.
sendmail_from = yourmail@yourmail.com (here you place the "from" mail...)
; For Unix only.  You may supply arguments as well (default: "sendmail -t
-i").
;sendmail_path = "\xampp\sendmail\sendmail.exe -t" (here the path where your sendmail.exe file is installed". )





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users