![]() |
HJB 8/29/2021 |
MassMailer template - send email newsletters and automatic daily/weekly emails Though it is of course possible to achieve of what you are looking for by manual coding, You own (among other features) automation by CRON jobs (if supported by your server As per latest info from the developers, numerous TEMPLATES like e.g. this one have not yet P.S. Once the "MassMailer" is finally in your hands, you can find the MySQL query codes for |
M
|
muammer author 8/29/2021 |
Mr. HJB |
![]() |
Admin 8/29/2021 |
Sending a conditional email is easy, you check some condition and if it is met, you send the email. There is nothing PHPRunner specific in this task, just basic PHP programming. If you need an basic example check this post for instance: MassMailer template will also do the job, and it can be useful if you need to send those emails automatically, without having users to go to your website. Check this blog post: |
![]() |
HJB 8/29/2021 |
Yours "But what I want is that certain records from the tables that I want specific to myself go Let me try to explain: As pointed by @admin, the manual coding inside PHPRunner can easily launch On the other hand, if you want to own e-mailed reports to only YOURSELF as you said, manual coding can Simply speaking, the manual coding method via PHPRunner is forming a part of your overall project code while Of course, you can reach any location with a bicycle, training your leg muscles and more, but if you can buy a |
M
|
muammer author 8/29/2021 |
Dear admin and HJB, Thank you very much for your directions, I created a solution with your suggestion, I will share my scenario with the aim of helping friends in the forum.
$email=$data["Email_Takip"]; $msg.= "Sayın:"."<b>".$data["Sorumlu"]."</b>"."<br/>\n"; $ret=runner_mail(array('to' => $email, 'subject' => $subject, 'htmlbody' => $msg, 'from'=>$from)); } $email=$data["Email_Takip"]; $msg.= "Sayın:"."<b>".$data["Sorumlu"]."</b>"."<br/>\n"; $ret=runner_mail(array('to' => $email, 'subject' => $subject, 'htmlbody' => $msg, 'from'=>$from)); } //////////////////////////////////////////////////////////////////// if(date_diff(date("Y-m-d", time()+86400),$data["Son_Tarih"])==1){ $email=$data["Email_Takip"]; $msg.= "Sayın:"."<b>".$data["Sorumlu"]."</b>"."<br/>\n"; $ret=runner_mail(array('to' => $email, 'subject' => $subject, 'htmlbody' => $msg, 'from'=>$from)); } return true;
|
![]() |
HJB 8/30/2021 |
... please study a.m. URL content and make GOOD use respectively correct choose of the right Example (your own code): if(date_diff(date("Y-m-d", time()+86400),$data["Son_Tarih"])==1){ practically means this: You are ADDING 86400 seconds to a pulled datetime formatted field while However you do NOT want to include an exact match datetime match, but a TIME range, so, you Simply speaking, you want to INCLUDE all tomorrow's datetime issues which are equal to 1 and lower. P.S. Any significant platform with users to access data is already a challenge in regard to workloads of Navigation: Using PHPRunner > Page Designer > "View as" settings Conditional formatting |
M
|
muammer author 8/30/2021 |
Mr. HJB |