added example for remote SMTP (corrected version)