(SOLVED) How to change php mail?
Posted by: kbhasi (218.186.8.---)
Date: August 13, 2009 07:55AM

Well, I want to change the php mail info because i acdentally used the default settings. Do you know how to?!?!?!? the ones that say localhost are the defaults but i want to change it to my hotmail email?!? please help?!???

Edit: I have solved this(I think)

If you want to change the php mail info, look for this in the php.ini file:


[mail function]
; For Win32 only.
; [php.net]
SMTP = localhost
; [php.net]
smtp_port = 25

; For Win32 only.
; [php.net]
sendmail_from = you@yourdomain


Edited 2 time(s). Last edit at 08/13/2009 08:03AM by kbhasi.

Options: ReplyQuote
Re: (SOLVED) How to change php mail?
Posted by: c2dan (---.15-1.cable.virginmedia.com)
Date: August 13, 2009 12:33PM

mail() wont work with hotmail. You can only use non password protected mail servers with the standard mail() function.

hotmail requires authentication in order for emails to be sent. Instead use a script called phpmailer: [phpmailer.worxware.com]

This will allow you to send/recieve email to/from servers which requires authentication.

Options: ReplyQuote

Sorry, only registered users may post in this forum.