<?php

require_once "/home/mysamm/Lib/mail.php";
$cc = null;
$email = "erics@mysamm.com";
$mailbcc = "keshpal.pss@gmail.com";
$from = "admin@mysamm.com";
$subject = "Your Requested Content is Generated";
$content = "Dear Client,\n\n";
$content .= "We have completed your Content Generation Request and your data is ready.\n";
$content .= "Please below link to download your report\n";
$link = "http://169.46.176.94/content_api/excel_files/cg_out_put_file_121724_035530.xlsx";
$content .= "<a href='$link'>New Content Report</a>\n";
$content .= "<p style='color:red;'><b>Important: Please Review the Generated Content Before Submitting to Retail Partners</b></p>";

$content .= "<p>This content was generated with the assistance of AI. Users should review and edit AI generated content to ensure accuracy, alignment with your brand’s voice, and any specific requirements your eCommerce partners may have. While AI can help streamline content creation, your final approval is crucial to ensure everything meets your standards.  it’s important to note that AI output is not always perfect. In some cases, errors may occur due to the complexity of the system or data.<b> Please note mySamm disclaims any and all liability for any errors or omission in the content produced by our AI Content generator tool. </b></p>";

$content .= "<p>Thank you for taking the time to thoroughly check this content before proceeding!</p>";

$content .= "Thank You,\n";
$content .= "mySamm Team";
$content = nl2br($content);
$status_array = sendmail_api($email, $subject, $content, $cc, $mailbcc, $from);
print_r($status_array); die;

?>