well what do u want to happen after the mail is sent ???
something has to happen, even if its just a blank page, it cant just stop cause the page is loaded only then does the php code execute so a response is already sent to the browser.
read up on the CURL libraries, something there might help you out
reg
kevin