Jump to content

sending emails


noobstar

Recommended Posts

Hi everyone :)

I know this is a completely stupid question but I am completey unsure on how to change either httpd, php or my.ini to input my own email, smtp host and port and to get it to work :( I personally never had to use mail which its strange to find out for myself lol
I guess sometimes the simpliest of issues can be hard :S

Thank you for any replies :)
Link to comment
https://forums.phpfreaks.com/topic/30831-sending-emails/
Share on other sites

This is in the wrong board (mods)

run phpinfo() and see where your running php.ini is

example:
-----------------------------------------------------------------
Configuration File (php.ini) Path    | C:\wamp\Apache2\bin\php.ini
-----------------------------------------------------------------


Open the php.ini and find the [mail function] and uncomment/comment to suit your system and prefs (this is an example)
-----------------------------------------------------------------
[mail function]
; For Win32 only.
;SMTP = localhost
SMTP = smtp.blah.net
;smtp_port = 25

; For Win32 only.
sendmail_from = [email protected]

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

-----------------------------------------------------------------

Should get it running
Link to comment
https://forums.phpfreaks.com/topic/30831-sending-emails/#findComment-142283
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.