I've installed a gateway module which works through a site-wide based payment, I mean, the customer pay the order inside the store. I know all payment statuses for any transaction, for example, 0 = "Order received", 1 = "Checking payment", 2 = "Authorized" and others. I would like to send an email to the customer (with Bcc to store administrator) to notice that the payment hasn't been authorized. Can I create a custom email template from admin dashboard and send an email using that new custom template? I would like also to put a link on the message which allows the customer trying make a payment again.
Any lights??
Answer to the first question: It's not possible to do in admin panel only. In admin panel you can only translate already existing email templates.
Answer to the second question: dig into code, for example, take a look at the Mage_Sales_Model_Order::sendNewOrderEmail() method, and then come back if you have some concrete questions.
P. S. it's always a good idea to include "what have I already tried" section to your questions.
Related
I have the email marketing setup for the newsletter with mailchimp. When the subscribers get the email there is a standard static footer added by mailchimp automatically.
This has an unsubscribe link which directly unsubscribed the users without asking for confirmation email step.
I would like to have another step to confirm with user as this happens even with a forwarded email it removes the user from the subscription.
There is a way around for this, remove the |UNSUB| merge tag from your email footer and add custom Unsubscribe Form URL.
You can get your custom Unsubscribe Form URL, from the List you want it for.
Choose the list -> Signup Forms -> Form Builder -> Unsubscribe Form (choose this from Forms and Response emails drop down)
This will ask users to provide their email address to unsubscribe from the list.
Edit: This have a disadvantage of asking user email again and confirming the same, I will also suggest to remove |UNSUB| and use |UPDATE_PROFILE| (which have unsubscribe option with updating preference, user may change their mind)
Hope this will help.
I have this scenario in mind:
I would like to implement the form in such a way that it sends the form to different email addresses based on User.
Scenario:
User A sends Form X to Email Address 1
User B sends Form X to Email Address 2
User C sends Form X to Email Address 3
I can used {global:fullname} to capture the logged in user. Currently, I have a set of list (dropdown) for users to choose the email address to send to. It does not look professional and I intend to change the workflow.
Any help or assistance is greatly appreciated.
Thank you.
RSForm PRO is a very powerful forum builder. It allows you to add code to your forms to manipulate the behavior of the form.
In this post http://www.itoctopus.com/how-to-easily-create-notification-emails-for-form-submissions-in-rsform , we explain how to create a notification email. You will need to take the code in the post, and then, based on the logged in user, you modify the $mailer->addRecipient('[our-client-email]'); code in order to send the email to the appropriate user. Of course, you will need to make some other minor changes, but you get the point.
Hope this helps!
All I have a fully working magento store but i'm having issues, when a customer purchases something they're not getting an email confirmation and I dont know why, everything is set up correctly, we receive emails when a customer submits items they want samples of they come through fine, even when you goto the backend and view the invoice and select send email invoice they don't get an email, I have no idea why this isn't working, any help would be greatly appreciated.
I'm using paypal payments pro as a payment method.
First of all, Magento 1.9+ send transactional emails as "background process" using the Magento crontab system. If you haven't already setup cron for your Magento store then you need to setup now for sending emails.
You can checkout this guide on how to setup the Magento cronjob -
http://www.magentocommerce.com/knowledge-base/entry/ce18-and-ee113-installing#install-cron
OR
Follow the steps below to setup cron job -
First of all make sure you have set up cron tasks in the `
Magento admin under System > Configuration > Advanced > System > Cron
The default settings are:
Generate Schedules Every 15
Schedule Ahead for 20
Missed if Not Run Within 15
History Cleanup Every 10
Success History Lifetime 60
Failure History Lifetime 600
You then need to go into your hosting control panel and set up cron jobs. In cPanel it’s under Advanced > Cron Jobs. Set them up to run every five minutes and use this command:
php -f /home/username/public_html/cron.php
Check that the above path is correct and that the file cron.php is actually there in the root of your Magento installation.
If this is not the case, you can check the database table: core_email_queue
The emails that should have been send should be in this queue, if not you should check your system configuration again, and maybe check on the store view your orders are from, to make sure the setting is not different under specific store view.
If the emails are there and have a date in the column processed at. You should check your Servers email log, since the receiver might be rejecting your emails, If its on a linux machine, its usually found in /var/log/mail.log
We have written a blog post here explaining how to setup CRON in Magento, i think this might explain in great detail.
There are various things this could be, but if the other emails are working it sounds like a config issue, so check this.
In admin, take a look in
System > Configuration (TOP MENU)
Then;
Sales Emails (LEFT MENU),
Check which contact is sending the email - eg Sales Rep. While you're here, add your personal email to the 'Send Order Copy To' field for testing - make sure it's not the same domain as the website, so like a gmail.com address or similar. Also check what email template is set and make sure it exists. If 'default from locale', check;
app/locale/[DEFAULT COUNTRY CODE]/template/email/sales/order_new_guest.html
app/locale/[DEFAULT COUNTRY CODE]/template/email/sales/order_new.html
Now go and check the email address set for the sender (New Order Confirmation Email Sender) - eg Sales Rep, these are in;
Store Email Address (LEFT MENU)
Ensure there is a value for email address and name, and it is correct. If it is, go and place an order using another personal email address at a different domain like gmail etc (not the same email address you set for the copy).
Hopefully the emails you do or dont recieve now will help you corectly trace the issue.
EXTRA
If you still receive no emails, couple of things to look at;
Check System > Config > Advanced and make sure smtp isnt disabled (seems unlikely as your other emails are sending)
Make sure paypal pro is setting the status to processed
Try changing the email address being used to send them, eg Sales
rep. Try changing this to an email address with a different domain,
such as gmail.com etc. If this works, then you need to look at how
your domain and email has been setup on the server.
Check your error logs /var/logs/
Recently i deployed Magento store And made some test order,
where following observation i made on Transactional Emails.
New Order email is triggered to my gmail account, if i use account associated with it.
but when i used another account to make purchase, that order is placed but New order mail is not being triggered to that email.
Based on above observation i am afraid that theirs possibility that emails might not get delivered to some others emails also.
Now, I am looking for some solution that will solve this or possibility is that i might have missed some configuration.
please help
You can use SMTP Pro Email, which is an extension that allows Magento to send all its automatic emails, from any e-mail service you want, even your gmail account for example. With this solution, you can try several e-mail server/services and finally pick the one that is not blocked or flagged as SPAM.
By default, Magento sends out a confirmation email (to the user) after a user subscribes to the newsletter. Is it possible to change the email address to which the confirmation is sent?
Thanks
Refer to my answer to your question about changing the action path of the subscribe.phtml file. If you override the newAction in subscriberController.php, you will be able to add in all your extra requirements, such as emailing the store admin, changing the information in the outgoing email, etc.
There is a detailed walkthrough on the Magento wiki on how to configure Magento to use your custom controller instead of the core. This is best practice as it means that future patches/upgrades from Magento shouldn't break your customization.