Re: Did this email work?
| From: | Manuel Lemos | Date: | Sun, 04 May 2003 03:46:25 +0000 |
| Subject: | Re: Did this email work? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-19754@lists.php.net to get a copy of this message | ||
Hello,
On 05/03/2003 11:13 PM, Php wrote:
Did this email work? if so HELP! I need help using the mail command "mail()" or maybe the right command? mail( "this is mail adress" , "This is the subject", "This is body") I need so send user name and password with mail command or set the ini file with the password. The mail server will not relay non local mail with out user name and password. p.s. windows xpThat usually means that you need to authenticate to relay messages sent to other destination servers. You may want to try this class for composing and sending messages that comes with a wrapper function named smtp_mail(). This function emulates the mail() function but lets you set the autentication credentials as you need: http://www.phpclasses.org/mimemessage You will also need this class: http://www.phpclasses.org/smtpclass -- Regards, Manuel Lemos