Community discussions

MikroTik App

Search found 4 matches

by snowkiterdude
Thu Jan 24, 2013 11:35 pm
Forum: Scripting
Topic: E-mail and scripting quesiton..
Replies: 13
Views: 8582

Re: E-mail and scripting quesiton..

by tully There are multiple ways how you can get it without using 'get': 1) using '/system logging action add target=email'; 2) using $interface, $mac-address and $address variables in dhcp-alert We will add this in the list of things to do. Can you please elaborate for all of us that are not as fa...
by snowkiterdude
Fri Jun 01, 2012 7:48 pm
Forum: Scripting
Topic: e-mail headers - Content-type: text/html
Replies: 8
Views: 8212

Re: e-mail headers - Content-type: text/html

If you really need to add custom headers, you could either: 1. Make an HTTP request to a PHP file using "/tool fetch". You can pass all needed variables into the URL. Once in PHP, you can add any additional headers you want, and send the mail from PHP. 2. Instead of sending the email to y...
by snowkiterdude
Fri Jun 01, 2012 6:32 pm
Forum: Scripting
Topic: e-mail headers - Content-type: text/html
Replies: 8
Views: 8212

Re: e-mail headers - Content-type: text/html

That's a bummer. Their are allot of e-mails these days that are no longer in plan text. Does anyone know of any other ways that you can format e-mails without html/xml. My plan was to though all the data into an array that I could loop though to organize the data. Then through that data into a html ...
by snowkiterdude
Fri Jun 01, 2012 1:20 am
Forum: Scripting
Topic: e-mail headers - Content-type: text/html
Replies: 8
Views: 8212

e-mail headers - Content-type: text/html

I am customizing the usage report scripts in order to organize the data better and implement lowering a users speeds after their data cap is hit. To do this I need to be able to send e-mails with the header Content-type: text/html. I have not been able to find any information on how to make this wor...