How make the SMTP service be useful on openfire?

I’ve always had a question when I configured the STMP server on openfire,that is how can i use the SMTP service in the development of my Android project?I mean if I want users to register for an account using their email address,what should i do?