AthensFramework/core

View on GitHub
src/email/EmailInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Athens\Core\Email;

use Athens\Core\Writable\WritableInterface;
use Athens\Core\Writer\HTMLWriter;
use Athens\Core\Emailer\EmailerInterface;

interface EmailInterface extends WritableInterface
{

    /**
     * @return string
     */
    public function getType();

    /**
     * @return string
     */
    public function getSubject();

    /**
     * @return string
     */
    public function getMessage();

    /**
     * @return string
     */
    public function getTo();

    /**
     * @return string
     */
    public function getFrom();

    /**
     * @return string
     */
    public function getReplyTo();

    /**
     * @return string
     */
    public function getCc();

    /**
     * @return string
     */
    public function getBcc();

    /**
     * @return string
     */
    public function getXMailer();

    /**
     * @return string
     */
    public function getContentType();

    /**
     * @return string
     */
    public function getMimeVersion();

    /**
     * @return boolean
     */
    public function send();
}