EC-CUBE4 APIドキュメント

MailService

Table of Contents

$mailer Swift_Mailer
$mailTemplateRepository MailTemplateRepository
$mailHistoryRepository MailHistoryRepository
$eventDispatcher EventDispatcher
$BaseInfo BaseInfo
$eccubeConfig EccubeConfig
$twig Twig_Environment
__construct() MailService constructor. mixed
sendCustomerConfirmMail() Send customer confirm mail. mixed
sendCustomerCompleteMail() Send customer complete mail. mixed
sendCustomerWithdrawMail() Send withdraw mail. mixed
sendContactMail() Send contact mail. mixed
sendOrderMail() Send order mail. Swift_Message
sendAdminCustomerConfirmMail() Send admin customer confirm mail. mixed
sendAdminOrderMail() Send admin order mail. Swift_Message
sendPasswordResetNotificationMail() Send password reset notification mail. mixed
sendPasswordResetCompleteMail() Send password reset notification mail. mixed
sendShippingNotifyMail() 発送通知メールを送信する. mixed
getShippingNotifyMailBody() string
getHtmlTemplate() [getHtmlTemplate description] string|null

Properties

$eventDispatcher

protected EventDispatcher $eventDispatcher

Methods

__construct()

MailService constructor.

public __construct( $mailer : Swift_Mailer , $mailTemplateRepository : MailTemplateRepository , $mailHistoryRepository : MailHistoryRepository , $baseInfoRepository : BaseInfoRepository , $eventDispatcher : EventDispatcherInterface , $twig : Twig_Environment , $eccubeConfig : EccubeConfig ) : mixed
Parameters
$mailer : Swift_Mailer
$mailTemplateRepository : MailTemplateRepository
$mailHistoryRepository : MailHistoryRepository
$baseInfoRepository : BaseInfoRepository
$eventDispatcher : EventDispatcherInterface
$twig : Twig_Environment
$eccubeConfig : EccubeConfig
Return values
mixed

sendCustomerConfirmMail()

Send customer confirm mail.

public sendCustomerConfirmMail( $Customer : , $activateUrl : string ) : mixed
Parameters
$Customer :
$activateUrl : string

アクティベート用url

Return values
mixed

sendCustomerCompleteMail()

Send customer complete mail.

public sendCustomerCompleteMail( $Customer : ) : mixed
Parameters
$Customer :
Return values
mixed

sendCustomerWithdrawMail()

Send withdraw mail.

public sendCustomerWithdrawMail( $Customer : , $email : ) : mixed
Parameters
$Customer :
$email :
Return values
mixed

sendContactMail()

Send contact mail.

public sendContactMail( $formData : ) : mixed
Parameters
$formData :
Return values
mixed

sendOrderMail()

Send order mail.

public sendOrderMail( $Order : Order ) : Swift_Message
Parameters
$Order : Order

受注情報

Return values
Swift_Message

sendAdminCustomerConfirmMail()

Send admin customer confirm mail.

public sendAdminCustomerConfirmMail( $Customer : , $activateUrl : string ) : mixed
Parameters
$Customer :
$activateUrl : string

アクティベート用url

Return values
mixed

sendAdminOrderMail()

Send admin order mail.

public sendAdminOrderMail( $Order : Order , $formData : ) : Swift_Message
Parameters
$Order : Order

受注情報

$formData :
Tags
throws
Twig_Error_Loader
throws
Twig_Error_Runtime
throws
Twig_Error_Syntax
Return values
Swift_Message

sendPasswordResetNotificationMail()

Send password reset notification mail.

public sendPasswordResetNotificationMail( $Customer : , $reset_url : string ) : mixed
Parameters
$Customer :
$reset_url : string
Return values
mixed

sendPasswordResetCompleteMail()

Send password reset notification mail.

public sendPasswordResetCompleteMail( $Customer : , $password : string ) : mixed
Parameters
$Customer :
$password : string
Return values
mixed

sendShippingNotifyMail()

発送通知メールを送信する.

public sendShippingNotifyMail( $Shipping : Shipping ) : mixed

発送通知メールは受注ごとに送られる

Parameters
$Shipping : Shipping
Tags
throws
Twig_Error
Return values
mixed

getShippingNotifyMailBody()

public getShippingNotifyMailBody( $Shipping : Shipping , $Order : Order [, $templateName : string|null = null ] [, $is_html : bool = false ] ) : string
Parameters
$Shipping : Shipping
$Order : Order
$templateName : string|null = null
$is_html : bool = false
Tags
throws
Twig_Error
Return values
string

getHtmlTemplate()

[getHtmlTemplate description]

public getHtmlTemplate( $templateName : string ) : string|null
Parameters
$templateName : string

プレーンテキストメールのファイル名

Return values
string|null

存在する場合はファイル名を返す

Search results