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

Package DE_EPAGES::ProductRecommendation::API::Recommendation

Sends the product.recommendation e-mail.

@EXPORT_OK
SendProductRecommendationMail

Functions

SendProductRecommendationMail

SendProductRecommendationMail

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

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