Email addresses¶
Email addresses must be configured for sending emails. This can be done in the backend via the plugin, but also configured via TypoScript.
plugin.tx_cart {
mail {
// Used for emails sent to the customer (=buyer)
buyer {
fromName = Your Brand name
fromAddress = cart.buyer.sender@example.com
ccAddress = cart.buyer.cc1@example.com, cart.buyer.cc2@example.com
bccAddress = cart.buyer.bcc1@example.com, cart.buyer.bcc2@example.com
replyToAddress = cart.buyer.reply@example.com
attachments {
1 = EXT:sitepackage/Resources/Public/Files/AGB.pdf
}
}
// Used for emails sent to the shop owner (=seller)
seller {
fromName = Cart TYPO3 System
fromAddress = cart.seller.sender@example.com
toAddress = cart.seller.to1@example.com, cart.seller.to2@example.com
ccAddress = cart.seller.cc1@example.com, cart.seller.cc2@example.com
bccAddress = cart.seller.bcc1@example.com, cart.seller.bcc2@example.com
}
}
}
plugin.tx_cart.mail¶
- buyer.fromAddress¶
- Type
string
Defines from which sender address the emails are sent to the buyer.
- buyer.ccAddress¶
- Type
string
Defines to which addresses the email should be sent in CC (Carbon Copy).
Multiple recipients can be given separated by commas.
- buyer.bccAddress¶
- Type
string
Defines to which addresses the email should be sent in BCC (Blind Carbon Copy).
Multiple recipients can be given separated by commas.
- buyer.replyToAddress¶
- Type
string
Defines to which address should be used as Reply To. This will override the
['MAIL']['defaultMailReplyToAddress']
configuration.
- buyer.attachments.<n>¶
- Type
array
Defines one or more email attachments to be sent to the buyer.
These can be, for example, documents with the general terms and conditions.
- buyer.attachDocuments.<n>¶
- Type
array
Defines one or more email attachments of the generated PDF documents to be sent to the buyer.
This can be the order confirmation, the invoice or a separate document.
- seller.fromAddress¶
- Type
string
Defines from which sender address the emails are sent to the seller/shop operator.
- seller.toAddress¶
- Type
string
Defines to which recipient addresses the emails to the seller/shop operator are sent.
Multiple recipients can be given separated by commas.
- seller.ccAddress¶
- Type
string
Defines to which addresses the email should be sent in CC (Carbon Copy).
Multiple recipients can be given separated by commas.
- seller.bccAddress¶
- Type
string
Defines to which addresses the email should be sent in BCC (Blind Carbon Copy).
Multiple recipients can be given separated by commas.
- seller.attachments.<n>¶
- Type
array
Defines one or more email attachments to be sent to the seller.
These can be, for example, documents with the general terms and conditions.
- seller.attachDocuments.<n>¶
- Type
array
Defines one or more email attachments of the generated PDF documents to be sent to the seller.
This can be the order confirmation, the invoice or a separate document.