UE issue with repeat regions in email
I ran into 2 issues when adding a repeat region to my email.
i have 1 recordset that is 2 database tables.
this email is for shipping confirmation - so it has a repeat of the order information and order details.
for any emails that have orders with multiple items (so the repeat region actually repeats)I get an error message on the page im trying to send it from. HOWEVER the email does go out and it has no errors.
heres the error i get
(ADDRESS2 field shows here)
Warning: Cannot modify header information - headers already sent by (output started at C:\Domains\mydomainname.com\wwwroot\WA_Universal_Email\WAUE_ordersview_1.php:148) in C:\Domains\mydomainname.com\wwwroot\admin\ordersshippedemail.php on line 54
I do not get this error with emails that go out on orders that only have 1 item - the item listing in the email doesnt repeat.
something funny goes on with the recordset depending on what order i layout the info.
i have some basic info at the top fo the email (order #, shipping link, etc)
next i have the items of the order, with a repeat region
last i have the billing info, shipping info, payment info.
anything after the repeat region shows blank. meaning all the bindings/fields.
however - if i put the repeat region last - it doesnt have this issue.
do i need to have a different recordset in the email than I have on the page that sends the email?
currently when someone goes to the link to SEND SHIPPING CONFIRMATION
it goes to a page that shows the the info of the order in the browser (ie an example of what is going to be sent in the email). this recordset for the page is called rsOrder.
in the actual email that is sent - I used that same recordset.
is this the issue?