yeah, helped a lot, thanks. The only thing I would change is to add "Reply-to" fields. ISPs will think you are spamming if yo use a "From" field that is not the same domain as the actual domain. So, to fix this you can add "Reply-to" so you can send from the site's domain email, but people will reply to a specific email.
Examples:
this will get you banned from some ISPs as spam:
site = mysite.com
from email = jerry@hotmail.com
this will not get you banned and will serve its purpose:
site = mysite.com
from email = registration@mysite.com
replt-to email = jerry @ hotmail.com