No mail with this code ...
On my "Confirm" page I made 2 UEmails : one to sent a conformation to the customer and one with the order to myself. On checking out the customer can add a comment to his order. If there's a comment, it's shown in the 2 emails. If no comment, no table with the comment. This works fine when checking out the normal way. But when checking out/paying with PayPal, the email to myself doesn't leave or doesn't come in. Very strange because the codes are the same :
<% if Session("comment")<> "" then %>
<table width="100%" border="1" cellspacing="0" cellpadding="2">
<tr>
<td width="17%" align="left" valign="top" bgcolor="#FF0000">Comment:</td>
<td width="83%" align="left" valign="top"><%= Session("comment") %></td>
</tr>
</table>
<%
End If
%>
When I delete the asp-code around the table, it works ! (with an empty comment)
I tried vainly a lot to fix this !
Any ideas ?
Yam.