How to send email using MBS Curl

i am using MBS Curl pluggin to send emails,
i am referring example - /CURL/Send Email/SendEmail

It is working fine when i send email from gmail account, but fails when i try to send email from other domains email id(e.g.
I am not getting where i can change the smtp port number.

So does this example works with other domain emails if not then how can i do this?

Use OptionPort property on the curl objects.