Mail not going from SMTP

Dear All

I just want to send a mail like sitepoint send confirmation mail after new registration. How can I send this type mail from my site using SMTP outgoing mail server. I tried and checked may way but not achive any positive result.

Here is my mail server detail-
SmtpServer=“mail.cbsecsnip.in”;
SmtpPort=“587”;
SmtpUser=“support@cbsecsnip.in”;
SmtpPass=“password@123”; // assume this is the password

Can any body help me out in this with some sort of code.

I am trying one example I found on net - Example Site But this also not works.

Thank you in advance.

Hello , I need to know what os you are using and if you are using something like xampp package ?

Thank you WFAREED for considering my problem, but its too late… I got a good and exact reply from daniweb. And my problem was solved 1 hour back.

Thank you

OK how can I mark this post as Solved or answered

No clue , sorry :slight_smile: , Pleased to know that you solved your issue.

SitePoint does not use solved so I have closed the thread. Glad you found a solution.