Cattat, This is what I use: $mailto="somone@xxxxxxxxxxxxx"; $mailfrom="From: me@xxxxxxxx"; $mailsubject="Email subject here"; $mailbody="body of email"; mail($mailto,$mailsubject,$mailbody,$mailfrom); steve On Mar 15, 2005, at 7:56 AM, cattat_sys wrote: > > > > Hi, > > I have an webmail wich read messages from an POP3 server. When I > send messages using mail() function it sends it with another adress > writed to "From" box. How I can change this? How I can write my > adress from wich I send the message? > > Thanks, > Cattat > > > > > > > > > PHP Data object relational mapping generator - > http://www.meta-language.net/ > Yahoo! Groups Links > > > > > > > PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/