<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><font class="Apple-style-span" size="3">Thanks for the reply. I am also trying same but </font>couldn't<font class="Apple-style-span" size="3"> compare with the field on the database as Expiration attribute use character value. I wish someone give me any idea on comparing those parameter inside database.</font></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div
style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Marinko Tarlać <mangia81@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> freeradius-users@lists.freeradius.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, December 6, 2011 1:33 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: Expiration email<br> </font> <br>
<div id="yiv983521978">
<div>
If you're asking me, I wouldn't mess with freeradius. <br>
<br>
Maybe the better idea is to create a small cron script which can
read the database and send email according to the date and the time
diff you want (1, 2, 3 etc days before the expiration) <br>
<br>
On 12/6/2011 3:54 AM, john decot wrote:
<blockquote type="cite">
<div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; ">
<div>Hi,</div>
<div><br>
</div>
<div> I am looking for how to send email before expiration of
account. The value used for the expiration in radius is
character format. So, I would like to know how to compare the
expiration data and send email accordingly.</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks in advance.</div>
<div><br>
</div>
<div><br>
</div>
<div>John.</div>
</div>
<br>
<fieldset class="yiv983521978mimeAttachmentHeader"></fieldset>
<br>
<pre>-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
</pre>
</blockquote>
<br>
</div>
</div><br>-<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br><br><br> </div> </div> </div></body></html>