Roopesh Posted August 21, 2014 Report Posted August 21, 2014 how can i get all emails using api in tools -> logs ->emails and which method is used for that? Quote
0 PauloV Posted August 21, 2014 Report Posted August 21, 2014 (edited) how can i get all emails in tools -> logs ->emails and which method is used for that? On Tools->Logs->Email you can access all emails sent by your Blesta. If you want to see the details of one email or resent one email, just click on date or subject of that email and it will expand and show you the details and options. Sorry didnt see your title You have the correct response from naja7host on post #4 Edited August 21, 2014 by PauloV Quote
0 Daniel B Posted August 21, 2014 Report Posted August 21, 2014 On Tools->Logs->Email you can access all emails sent by your Blesta. If you want to see the details of one email or resent one email, just click on date or subject of that email and it will expand and show you the details and options. pretty sure he's asking how to access that list of emails/information via the API, as it seems he's already aware how to get to it in the admin panel. PauloV 1 Quote
0 Blesta Addons Posted August 21, 2014 Report Posted August 21, 2014 you can fetch them by $response = $api->post("logs", "getEmailList", $page = 1, array $order_by = array('date_sent'=>"DESC")); to fecth one email $response = $api->post("logs", "getEmail", $email_log_id ); more function for logs here http://source-docs.blesta.com/class-Logs.html i hope that can work for you PauloV 1 Quote
0 PauloV Posted August 21, 2014 Report Posted August 21, 2014 pretty sure he's asking how to access that list of emails/information via the API, as it seems he's already aware how to get to it in the admin panel. lol my mistake didnt read the Title Going to fix the response Quote
Question
Roopesh
how can i get all emails using api in tools -> logs ->emails and which method is used for that?
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.