| Author |
Can Guest users receive email "Order Received"
|
|
|
| It seems as though only registered users can receive emails stating that thier order has been received. I have modified the JSP's to capture email information and populate the ADDRESS table "email1" with the email address but I still get the following me
ssage.
2005.04.12 15:15:57.328 com.ibm.commerce.messaging.outboundservice.Messaging getMemberAddress()
CMN8418E: Error null has occurred. The messaging system cannot find the target address (for example, e-mail) for member ID 24504 and therefore cannot send a message for this member.Current exception:
Has anyone encountered this error message? Any help would be appreciated.
| |
| Cuneyt Kaya 2005-04-13, 2:53 am |
|
In the OrderSubmitForm.jsp there is a code chunk as below:
//Determine if shopper is Registered or a Guest Shopper. If guest shopper,
then email will not be sent to shopper after order is placed.
String emailShopper = "";
if (userType.equalsIgnoreCase("G"))
{
//This is a guest user. Do not send email.
emailShopper = "0";
}
else
{
//This is a registered/logged in user. Send a email.
emailShopper = "1";
}
%>
Try making the emailshopper="1" for all cases and test. See if it works.
<21401@sbcglobal.net> wrote in message
news:40176562.1113348077495.JavaMail.wassrvr@ltsgwas007.sby.ibm.com...
> It seems as though only registered users can receive emails stating that
thier order has been received. I have modified the JSP's to capture email
information and populate the ADDRESS table "email1" with the email address
but I still get the following message.
>
> 2005.04.12 15:15:57.328
com.ibm.commerce.messaging.outboundservice.Messaging getMemberAddress()
> CMN8418E: Error null has occurred. The messaging system cannot find the
target address (for example, e-mail) for member ID 24504 and therefore
cannot send a message for this member.Current exception:
>
> Has anyone encountered this error message? Any help would be
appreciated.
>
| |
| Thomas Tolborg 2005-04-14, 2:52 am |
| 21401@sbcglobal.net wrote:
> It seems as though only registered users can receive emails stating that thier order has been received. I have modified the JSP's to capture email information and populate the ADDRESS table "email1" with the email address but I still get the following
message.
>
> 2005.04.12 15:15:57.328 com.ibm.commerce.messaging.outboundservice.Messaging getMemberAddress()
> CMN8418E: Error null has occurred. The messaging system cannot find the target address (for example, e-mail) for member ID 24504 and therefore cannot send a message for this member.Current exception:
>
> Has anyone encountered this error message? Any help would be appreciated.
>
Nope.. guest shoppers can not receieve emails. And AFAIR it is not
possible to circumvent that fact.
The current OrderReceieved email functionality looks up the email
address from the users address with type 'R'. And only registered users
have addresses with type 'R'.
regards,
Thomas Tolborg
| |
|
| Well Thomas,
Thank you for your input BUT after filing a PMR with IBM customers do in fact get a Order Confirmation both for guest shoppers and registered shoppers. I will post what I had to do to get this to work.
1. Change the AddressEntryForm.jspf to include a mandatory field for the email address.
2. Modify the OrderSubmitForm.jsp to retrieve the email address entered into AddressEntryForm:
3. Modify the OrderSubmitForm.jsp to send an email notification:
DUE TO TAG RESTRICTIONS I WAS UNABLE TO PUT THE ACTUAL HTML TAGS FOR THIS HIDDEN FIELD, BUT YOU GET THE JIST OF IT.
Add another hidden field with the following parameters.
input type=hidden name=notify_OrderReceived_EMailSender_re
cipient
value=strEmail
| |
| John Smith 2005-04-26, 6:00 pm |
| 21401@sbcglobal.net wrote:
> Well Thomas,
>
> Thank you for your input BUT after filing a PMR with IBM customers do in fact get a Order Confirmation both for guest shoppers and registered shoppers. I will post what I had to do to get this to work.
>
> 1. Change the AddressEntryForm.jspf to include a mandatory field for the email address.
> 2. Modify the OrderSubmitForm.jsp to retrieve the email address entered into AddressEntryForm:
> 3. Modify the OrderSubmitForm.jsp to send an email notification:
>
> DUE TO TAG RESTRICTIONS I WAS UNABLE TO PUT THE ACTUAL HTML TAGS FOR THIS HIDDEN FIELD, BUT YOU GET THE JIST OF IT.
>
> Add another hidden field with the following parameters.
>
> input type=hidden name=notify_OrderReceived_EMailSender_re
cipient
> value=strEmail
>
Actually .... you are both right it depends which version of WC you are
using WC 5.4 did not have out of the box functionality for Guest user
notification, 5.5 and 5.6 do have the functionality with the slight
customizations you mentioned.
|
|
|
|