Error sending email from Error Log
Error sending email from Error Log
Hello,
I had an issue when we changed hosting companies and the email server was not sending emails because authinication issues, becasue the password had changed. After I updated the password, I have many order confirmations, shipping notices and password reset request that did not go out to customers. I
Now that it's corrected, is there a way to send these out automatically. There are no usernames or orders associated with the password resets, is there a way to get additional details on these customers so that I can send these to the customers?
Thanks.
I had an issue when we changed hosting companies and the email server was not sending emails because authinication issues, becasue the password had changed. After I updated the password, I have many order confirmations, shipping notices and password reset request that did not go out to customers. I
Now that it's corrected, is there a way to send these out automatically. There are no usernames or orders associated with the password resets, is there a way to get additional details on these customers so that I can send these to the customers?
Thanks.
- Shopping Cart Admin
- AbleCommerce Admin
- Posts: 3055
- Joined: Mon Dec 01, 2003 8:41 pm
- Location: Vancouver, WA
- Contact:
Re: Error sending email from Error Log
Hello,
There isn't any way for AbleCommerce to know which ones haven't been sent. From the order admin you can resend the order notification to the customers whom ordered during the time the email server credentials were off.
There isn't any way for AbleCommerce to know which ones haven't been sent. From the order admin you can resend the order notification to the customers whom ordered during the time the email server credentials were off.
Re: Error sending email from Error Log
Thanks for the response. I can resend the order/shipment emails manually, which will be timeconsuming. But customers that requested "Password Reset" and other updates that are not shown by customer name/order numbers, I can send those request without knowing.
I did notice a table called "Error Message" but I could not locate a similar table with customer email or order numbers to help with the others. Is there a table that has this data?
Thanks.
I did notice a table called "Error Message" but I could not locate a similar table with customer email or order numbers to help with the others. Is there a table that has this data?
Thanks.
Re: Error sending email from Error Log
No there is no table with this information. You can't resend those requests.
-
- Ensign (ENS)
- Posts: 5
- Joined: Wed Jun 10, 2009 11:45 am
- Location: Novato, CA
- Contact:
Re: Error sending email from Error Log
Mike -
You said "From the order admin you can resend the order notification to the customers whom ordered during the time the email server credentials were off."
Specifically, what steps would you take in the admin to do that? When I go to any order I don't see a way to send a confirmation email.
thanks,
Richard
You said "From the order admin you can resend the order notification to the customers whom ordered during the time the email server credentials were off."
Specifically, what steps would you take in the admin to do that? When I go to any order I don't see a way to send a confirmation email.
thanks,
Richard
- Shopping Cart Admin
- AbleCommerce Admin
- Posts: 3055
- Joined: Mon Dec 01, 2003 8:41 pm
- Location: Vancouver, WA
- Contact:
Re: Error sending email from Error Log
Hello Richard,
Get to an order detail page in the admin sections:
Administration > Orders > View Order #XXXX
Click on the linked email address in the bill to section and it will take you to the page where you can select an email.
Get to an order detail page in the admin sections:
Administration > Orders > View Order #XXXX
Click on the linked email address in the bill to section and it will take you to the page where you can select an email.
-
- Ensign (ENS)
- Posts: 5
- Joined: Wed Jun 10, 2009 11:45 am
- Location: Novato, CA
- Contact:
Re: Error sending email from Error Log
Thanks Mike, that's really good stuff!
It's pretty well hidden behind that link, since the edit icon next to the email address doesn't lead you there. A suggestion -- it would be great if there was some indication like a button or text link that said something like "Send Message".
Thanks for the rapid response.
= Richard =
It's pretty well hidden behind that link, since the edit icon next to the email address doesn't lead you there. A suggestion -- it would be great if there was some indication like a button or text link that said something like "Send Message".
Thanks for the rapid response.
= Richard =
-
- Ensign (ENS)
- Posts: 5
- Joined: Wed Jun 10, 2009 11:45 am
- Location: Novato, CA
- Contact:
Re: Error sending email from Error Log
Mike -
I've been using the mechanism you pointed out to successfully re-send out Order Confirmations emails. However, when I try to use the "Lost Password" option and send out that kind of email, the variables ($customer.UserName and ${resetPasswordLink}) go out literally as those strings, not as the intended values resolved from the database -- hence those emails are of no value to customers. This is the second most common request we get from customers for sending out specific emails, so it's important.
Any idea why the variables are not being resolved with values when sent from this location? Suggestions for fixing it?
thanks,
Richard
I've been using the mechanism you pointed out to successfully re-send out Order Confirmations emails. However, when I try to use the "Lost Password" option and send out that kind of email, the variables ($customer.UserName and ${resetPasswordLink}) go out literally as those strings, not as the intended values resolved from the database -- hence those emails are of no value to customers. This is the second most common request we get from customers for sending out specific emails, so it's important.
Any idea why the variables are not being resolved with values when sent from this location? Suggestions for fixing it?
thanks,
Richard
Re: Error sending email from Error Log
Manual Email ability provided on order summary page is much specific to Email related to order for example order confirmation etc and doesn't work for some templates for which data is not available in that context. In a work around you can modify your Admin/Orders/Email/SelectTemplate.aspx and Admin/Orders/Email/SelectTemplate.aspx.cs files. Edit your Admin/Orders/Email/SelectTemplate.aspx file and locate following line
and updater it as below
Then edit its cs or code file and add following code just above the last curly brace
Code: Select all
</asp:Content>
Code: Select all
<br />
<div class="section" style="padding:0 0 2px 0;">
<div class="header">
<h2 class="commonicon"><asp:Localize ID="GeneralCaption" runat="server" Text="User Password Reset"></asp:Localize></h2>
</div>
<div class="content">
<table class="inputForm">
<tr>
<th class="rowHeader">
<asp:Label ID="StoreNameLabel" runat="Server" Text="Triigers password reset Email to user:" AssociatedControlID="RequestPasswordReset" ToolTip="Triggers reset password Email"></asp:Label>
</th>
<td>
<asp:Button ID="RequestPasswordReset" runat="server" onclick="RequestPasswordReset_Click" Text="Change Password" CausesValidation="false" />
</td>
</tr>
<tr>
<asp:Label ID="SuccessMessage" SkinID="GoodCondition" runat="server"></asp:Label>
</tr>
</table>
</div>
</div>
</asp:Content>
Code: Select all
protected void RequestPasswordReset_Click(object sender, EventArgs e)
{
Order order = OrderDataSource.Load(PageHelper.GetOrderId());
if (order != null)
{
order.User.GeneratePasswordRequest();
SuccessMessage.Text = "Message Sent";
}
}