I am running php on Win2K advanced server and have buit an application that allows a user to select an image and send it to a friend using the mail( ) function. The problem I have is this: The application works fine if the email address that is being sent the attachment is the same as the site name of the site (ie site name is mysite.com, email addresses like mark@mysite.com or bob@mysite.com)but if the email address is different than the site name - the application fails and nothing gets sent.
Anyone seen this one before? I know the SMTP is valid and listed properly in the ini file because it sends the mail out.
Any help is appreciated...
Mark