email - php mail() is not working -


this question has answer here:

i can't mail() function work. have make changes in cpanel. have configure anything?

i using code below:

mail('abc@xyz.com','subject sdsas','random message','from: zzz@yyy.com'); 

note: windows implementation of mail() differs in many ways unix implementation. first, doesn't use local binary composing messages operates on direct sockets means mta needed listening on network socket (which can either on localhost or remote machine). second, custom headers from:, cc:, bcc: , date: not interpreted mta in first place, parsed php. such, parameter should not address in form of "something ". mail command may not parse while talking mta.

see: php: mail - manual

how can php mail() work? need configuring mta

mta receiving mails, in php

both questions dealing mta, may know if hoster fulfills requirements needed send mails using php.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -