Jump to content
  • 0

How To Get All Emails Via Api In Tools->Logs->Emails


Roopesh

Question

4 answers to this question

Recommended Posts

  • 0

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 by PauloV
Link to comment
Share on other sites

  • 0

 

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.

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...