As long as you have sendmail configured on your
server, and you're working with a standard php
install, it should be working properly.

mail() needs to see things happen in this fashion and
order:

mail("[EMAIL PROTECTED]", "subject", "body", "headers")

The headers are optional, and you can concatenate as
needed.  None of the email addresses need to be on the
domain local to the server.

Not sure about this html mail mime class thing you're
talking about, and would have to know what the server
error message was to get a better idea of what's going
on with the script...
--- Boaz Amit <[EMAIL PROTECTED]> wrote:
> 
> <[EMAIL PROTECTED]> wrote:
> >hi all,
> 
> >I cant seem to get my mail function to work. OK so
> i am a noob, that might
> >have something to do with it.  I am using a script
> I found called the HTML
> >Mime Mail Class, which does everything i need
> except actually send the mail.
> >I am guessing that there is some config problems,
> but i am not sure.  Even
> >when i try and use the mail() function i get a
> server error.  So i guess
> >that my problem is that my return address is messed
> up.  Does it have to  be
> >my own domain, or the domain that the server is
> running on?  Can i set the
> >return address as a hotmail account, or do i need
> my own server mail
> >program?  And is there anything that i need to
> config in the php.ini file?
> >
> >Thanks for helping,
> >
> >T P K Cannell
> 
> This article by the most helpful Julie Meloni
> answers your question:
>
http://www.zdnet.com/devhead/stories/articles/0,4413,2802264,00.html
> 
> 
> ---
>  Regards,
>   Boaz Amit
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to