How to send emails from non-gmail account

i want to send emails from my private account (not a gmail account).

how can i send email from this account ? Can i use SMTPSecuresocket to send emails as i did for gmail account, i am using it but no success.

Code?

And you know that this is a bad idea because your hosting company will block you if you send too many emails.

try stmpsocket instead.

Please post your code.