ePages 6.10 - DE_EPAGES/ProductRecommendation/API/Recommendation.pm

Package DE_EPAGES::ProductRecommendation::API::Recommendation

@EXPORT_OK
SendProductRecommendationMail

Functions

SendProductRecommendationMail

SendProductRecommendationMail

Sends a product.recommendation e-mail to $Receiver <$ReceiverEmail> on behalf of $Sender <$SenderEmail>.

Syntax
SendProductRecommendationMail( $Product, {
    'Receiver'          => $Receiver,
    'ReceiverEmail'     => $ReceiverEmail,
    'Sender'            => $Sender,
    'SenderEmail'       => $SenderEmail,
    'Greeting'          => $Greeting,
    'CurrencyID'        => $CurrencyID,
    'LocaleID'          => $LocaleID,
    'Copy'              => $Copy,
});
Input
$Product (object)
product object
$Receiver (string)
recipient name
$ReceiverEmail
recipient emain
$Sender (string)
sender name
$SenderEmail (string)
sender email
$CurrencyID (string)
(optional, default: shop currency) currency id, e.g. 'EUR'
$LocaleID (string)
(optional, default: shop locale) locale id, e.g. 'de_DE'
$Copy (boolean)
(optional) send a copy to the sender