How can I send 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.
3
Contributors
9
Replies
3 Months
Discussion Span
5 Months Ago
Last Updated
11
Views
Question Answered
Related Article:How to configur server settings to send mail using Php
is a PHP discussion thread by manumohantkd that has 1 reply, was last updated 3 months ago and has been tagged with the keywords: send, mail, in, php.
Thatis an example from PHP.net - this is not from me.t
<?php
$to = '' // email address where to send
$subject = '' // Subject matter captured from form
$message = '' // captured from form
mail($to, $subject, $message); // Sends the message
?>
Thank you Squidge really a silly mistake gives lots of pain I was not passing the value of email from form page. Any ways thankyou for extended support.
Thank you very much