8
8
use Zend \Mime \Mime ;
9
9
use Zend \Mime \Part ;
10
10
11
+ /**
12
+ * Class Message for email transportation
13
+ */
11
14
class Message implements MailMessageInterface
12
15
{
13
16
/**
@@ -34,7 +37,7 @@ public function __construct($charset = 'utf-8')
34
37
}
35
38
36
39
/**
37
- * { @inheritdoc}
40
+ * @inheritdoc
38
41
*
39
42
* @deprecated
40
43
* @see \Magento\Framework\Mail\Message::setBodyText
@@ -47,7 +50,7 @@ public function setMessageType($type)
47
50
}
48
51
49
52
/**
50
- * { @inheritdoc}
53
+ * @inheritdoc
51
54
*
52
55
* @deprecated
53
56
* @see \Magento\Framework\Mail\Message::setBodyText
@@ -63,7 +66,7 @@ public function setBody($body)
63
66
}
64
67
65
68
/**
66
- * { @inheritdoc}
69
+ * @inheritdoc
67
70
*/
68
71
public function setSubject ($ subject )
69
72
{
@@ -72,23 +75,23 @@ public function setSubject($subject)
72
75
}
73
76
74
77
/**
75
- * { @inheritdoc}
78
+ * @inheritdoc
76
79
*/
77
80
public function getSubject ()
78
81
{
79
82
return $ this ->zendMessage ->getSubject ();
80
83
}
81
84
82
85
/**
83
- * { @inheritdoc}
86
+ * @inheritdoc
84
87
*/
85
88
public function getBody ()
86
89
{
87
90
return $ this ->zendMessage ->getBody ();
88
91
}
89
92
90
93
/**
91
- * { @inheritdoc}
94
+ * @inheritdoc
92
95
*
93
96
* @deprecated This function is missing the from name. The
94
97
* setFromAddress() function sets both from address and from name.
@@ -101,7 +104,7 @@ public function setFrom($fromAddress)
101
104
}
102
105
103
106
/**
104
- * { @inheritdoc}
107
+ * @inheritdoc
105
108
*/
106
109
public function setFromAddress ($ fromAddress , $ fromName = null )
107
110
{
@@ -110,7 +113,7 @@ public function setFromAddress($fromAddress, $fromName = null)
110
113
}
111
114
112
115
/**
113
- * { @inheritdoc}
116
+ * @inheritdoc
114
117
*/
115
118
public function addTo ($ toAddress )
116
119
{
@@ -119,7 +122,7 @@ public function addTo($toAddress)
119
122
}
120
123
121
124
/**
122
- * { @inheritdoc}
125
+ * @inheritdoc
123
126
*/
124
127
public function addCc ($ ccAddress )
125
128
{
@@ -128,7 +131,7 @@ public function addCc($ccAddress)
128
131
}
129
132
130
133
/**
131
- * { @inheritdoc}
134
+ * @inheritdoc
132
135
*/
133
136
public function addBcc ($ bccAddress )
134
137
{
@@ -137,7 +140,7 @@ public function addBcc($bccAddress)
137
140
}
138
141
139
142
/**
140
- * { @inheritdoc}
143
+ * @inheritdoc
141
144
*/
142
145
public function setReplyTo ($ replyToAddress )
143
146
{
@@ -146,7 +149,7 @@ public function setReplyTo($replyToAddress)
146
149
}
147
150
148
151
/**
149
- * { @inheritdoc}
152
+ * @inheritdoc
150
153
*/
151
154
public function getRawMessage ()
152
155
{
@@ -170,7 +173,7 @@ private function createHtmlMimeFromString($htmlBody)
170
173
}
171
174
172
175
/**
173
- * { @inheritdoc}
176
+ * @inheritdoc
174
177
*/
175
178
public function setBodyHtml ($ html )
176
179
{
@@ -179,7 +182,7 @@ public function setBodyHtml($html)
179
182
}
180
183
181
184
/**
182
- * { @inheritdoc}
185
+ * @inheritdoc
183
186
*/
184
187
public function setBodyText ($ text )
185
188
{
0 commit comments