If you get error like "Unable to relay ..." while sending email you should do the following: open properties of your default SMTP server, select "Access" tab, click on "Relay" button under "Relay restrictions" group, switch radio list to "All except the list below' as shown at followed screenshot.