akrum
23 November 2016 15:20
1
Hello SuiteCRM Community !
I want to pass a URL for the meeting in the reminder. We have a workflow module that works against the schedulers. What i want is to pass the URL for the meeting, so that the recipient can actually click on the URL and go to the intended link for the meeting.
Thank you so much
Matt
24 November 2016 21:46
2
just add $url to the template, you can also use $url as the url for link
jrmk
11 June 2020 11:28
3
i’m sending mail through entry point so in that case how to pass url link
here’s my code for sending mail
if($_REQUEST[‘id’])
{
$accountBean = BeanFactory::getBean(‘Accounts’,$_REQUEST[‘id’]);
$name= $accountBean->name;
$email = $accountBean->email1;
require_once('include/SugarPHPMailer.php');
$emailObj = new Email();
$defaults = $emailObj->getSystemDefaultEmail();
$mail = new SugarPHPMailer();
$mail->setMailerForSystem();
$mail->From = $defaults['email'];
$mail->FromName = $defaults['name'];
$mail->Subject = 'Account Information';
$mail->Body ="Name: $name";
$mail->prepForOutbound();
$mail->AddAddress($email);
@$mail->Send();
echo "Email Sent Successfully!!!!";
}
else
{
echo "Email Not Sent";
}
@jrmk Please don’t comment on 4 year old topics, please raise a new one or wait for a response on your already open topic.