MAMP & WP Email Configuration
I have installed MAMP 2.0.5 on my iMac (OS X Lion) to use as a test and development platform for my WP blog site. I am having trouble sending emails from within WP, for they are being sent with a return address of "email@example.com". This is causing them to be rejected by my ISP (Comcast) SMTP due to invalid sender domain, and understandably so.
Where within WP can I set the mailer to use a correct domain name? It appears from digging around that this is set in wp-includes/class-phpmailer.php. It looks like it is coming from the LOCALHOST and LOCALDOMAIN global variables, or possibly the SERVER_NAME variable.
I could manually make changes in this file, but want to know the proper place to set the outgoing so that future WP updates will not wipe this out. In other words, where is the proper place to define the outgoing email return address as "firstname.lastname@example.org"?