Hi Hendra, Your php code looks fine and if you are receiveing mail to your own address it would suggest the code is working. It sounds though as if your mail program may not be configured correctly, which would still allow it to deliver mail to internal mail address but not external ones. What mail program are you using? Fergal
----- Original Message ----- From: "Hendra Susanto" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Monday, April 18, 2005 3:01 PM Subject: [php-list] sending email problems > > hi. my page won't send email. here's my program: > > $to = "[EMAIL PROTECTED]"; > $title = "testing subject"; > $contents = "testing contents"; > $headers = "From: webmaster <[EMAIL PROTECTED]>"; > > mail($to, $title, $contents, $headers); > > if i send the email to one of my own email, it works. such as > [EMAIL PROTECTED] or [EMAIL PROTECTED] It just won't > work on any other email. Is there any setting that i should know > about? > > thanks > > > Community email addresses: > Post message: [email protected] > Subscribe: [EMAIL PROTECTED] > Unsubscribe: [EMAIL PROTECTED] > List owner: [EMAIL PROTECTED] > > Shortcut URL to this page: > http://groups.yahoo.com/group/php-list > Yahoo! Groups Links > > > > > > > > Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
