$from="manoj.dubey@tvsmotor.com"; $mail->isSMTP(); // Set mailer to use SMTP $mail->Host = $configArray['email_host']; // Specify main and backup SMTP servers $mail->SMTPAuth = true; // Enable SMTP authentication $mail->Username = $from ; // SMTP username //$mail->Password = $configArray['email_password']; // SMTP password $mail->SMTPSecure = 'tls'; // Enable TLS encryption, `ssl` also accepted $mail->Port = $configArray['email_port']; // TCP port to connect to $mail->isHTML(true); // Sender info $mail->setFrom($from, 'OHC'); $mail->addReplyTo($from, 'OHC'); //$from=$configArray['email_username']; $subject = "Test Email"; $ccList = "manojdubeyonline@gmail.com"; $mail_content = "
Thank you for your interest to our OHCTECH-Occupational Health Software and Solutions. We will soon connect and share details as per the details shared by you.
Regards,
OHCTECH TEAM