DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2012-01-17 15:59:16

capitainabloc
Member
Registered: 2011-10-05
Posts: 22

how to configure and use sendmail and php.ini

Hello,

I would like to have a tutorial about the configuration of sendmail and php.ini in order to send mails from php forms on my website...

Thanks!

Offline

 

#2 2012-01-22 17:46:31

capitainabloc
Member
Registered: 2011-10-05
Posts: 22

Re: how to configure and use sendmail and php.ini

ok, working with this configuaration in php.ini: 

Code:

[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 = "sendmail -t -i"

; 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 =

the only useful line being:


Code:

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

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB