Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions about emails sent by Magento in general
0
votes
problem getting customer detail by email
The section of code you share is correct, however I don't know the value if any of $recipient['email'] so for testing try hardcoding the email
$customer_email = "[email protected]";
$customer = Mage … ::getModel("customer/customer");
$customer->setWebsiteId(Mage::app()->getWebsite()->getId());
$customer->loadByEmail($customer_email); //load customer by email id
if($customer->getId){
// do your …
5
votes
How to add Unsubscribe link at the bottom of transaction email footer?
Take a look at Adding unsubscribe link in custom email magento
<a href="{{var subscriber.getUnsubscriptionLink()}}">
{{var subscriber.getUnsubscriptionLink()}}
</a> …
0
votes
Accepted
Payment transaction failed -email items -variable
Take a look at sendPaymentFailedEmail() in /app/code/core/Mage/Checkout/Helper/Data.php which is call from /app/code/core/Mage/Checkout/controllers/OnepageController.php
The only email variables are …
1
vote
Accepted
Send shipping email using an Observer
$customerEmail is not define try
.....
if (!is_null($shipment->getOrder()->getCustomerEmail()) && !$emailSentStatus) {
$shipment->sendEmail(true, $customerEmailComments);
$shipment->setEmailS …
2
votes
Accepted
Customer Not Notified
the payment has been approved, then status that you should pay attention to if you want to know if a order confirmation was send is (upper left hand box)
Order # 10151xxxx (the order confirmation email … was sent)
or
Order # 10151xxxx (the order confirmation email is not sent)
To view payment status take a look at
Mage_Paygate_Model_Authorizenet
protected function _place(
protected function …
1
vote
Accepted
the shipment email is not sent
They seem to be few issues within your code
Undefined variable (minor)
$shipmentCarrierTitle = $shipmentCarrierCode;
Need to use $this-> prefix when calling a method
$shipment = Mage::getMod …
3
votes
Accepted
get template id of custom transaction email by template name
= $mailTemplate->loadDefault($templateId, $localeCode);
You may want to take a look at sendTransactional in Mage_Core_Model_Email_Template
public function sendTransactional($templateId, $sender, $email …
1
vote
Permit manual sales emails when automatic are disabled
Mage::helper('sales')->__('Are you sure you want to send Creditmemo email to customer?')
. '\', \'' . … foreach ($copyTo as $email) {
$emailInfo->addBcc($email);
}
}
$mailer->addEmailInfo($emailInfo);
// Email copies are sent as separated …
2
votes
Magento mails / cron
Take a look at Magento - Wiki - How to Set Up a Cron Job
In UNIX/BSD/linux systems you will need to add this line (or a similar line) to your crontab:
# for debugging purposes only:
MAILTO=your.user …
2
votes
SMTP & Email Sending Errors
Assuming that SMTP Pro is configure correctly and you hosting company is not blocking that port.
Log into your gmail account and follow the steps below.
Change your settings to allow less secure app …
0
votes
Accepted
magento reset password email via php code
To send a rest link by email
$email='[email protected]';
$customer = Mage::getModel('customer/customer')
->setWebsiteId(Mage::app()->getStore()->getWebsiteId())
-> … loadByEmail($email);
$customer->sendPasswordResetConfirmationEmail(); …
9
votes
Accepted
Associate a guest checkout with an account if their email matches and existing account
Then using an observer you could
Check if the customer is checking out as guest
If there is a existing customer with the same email
Update the order accordingly. … Please note this method may assign the order to wrong user if someone existing customer mistype there email
Take a look at Magento - Wiki - Customize Magento using Event/Observer
In config.xml
... …
0
votes
Automating Invoicing in Magento 1
To auto invoice an order try:
public function fullPaymentReceivedAutoInvoice($order){
$invoice = $order->prepareInvoice();
if($invoice->getTotalQty()){
$invoice->setRequestedCaptureCa …
2
votes
How to send set password email?
$customer = Mage::getModel('customer/customer');
$password = '123456';
$email = '[email protected]';
$customer->setWebsiteId(Mage::app()->getWebsite()->getId());
$customer->loadByEmail($email);
if($ … customer->getId()) { // if customer does not already exists, by email
$newPassword = $customer->generatePassword(); // generate a new password
$customer->changePassword($newPassword); // set it …