PHP Classes

File: resources/views/mail.blade.php

Recommend this page to a friend!
  Classes of Leonardo Feitosa   Laravel with Office 365   resources/views/mail.blade.php   Download  
File: resources/views/mail.blade.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Laravel with Office 365
Access Microsoft Outlook accounts using its API
Author: By
Last change:
Date: 2 months ago
Size: 791 bytes
 

Contents

Class file image Download
@extends('layout')

@section('content')
<div id="inbox" class="panel panel-default">
  <div class="panel-heading">
    <h1 class="panel-title">Inbox</h1>
  </div>
  <div class="panel-body">
    Here are the 10 most recent messages in your inbox.
  </div>
  <div class="list-group">
    <?php if (isset($messages)) {
      foreach(
$messages as $message) { ?>
<div class="list-group-item">
      <h3 class="list-group-item-heading"><?php echo $message->getSubject() ?></h3>
      <h4 class="list-group-item-heading"><?php echo $message->getFrom()->getEmailAddress()->getName() ?></h4>
      <p class="list-group-item-heading text-muted"><em>Received: <?php echo $message->getReceivedDateTime()->format(DATE_RFC2822) ?></em></p>
    </div>
    <?php }
    }
?>
</div>
</div>
@endsection