email - php mail() is not working -
this question has answer here:
- php mail not working reason 8 answers
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
both questions dealing mta, may know if hoster fulfills requirements needed send mails using php.
Comments
Post a Comment