hello, i have a form i which your fill ifnormation with products, quntity, price, etc, (you can select multiple products) and after you hit "Submitt" button an email is send with the detail in a table, but the problema y have its that all proctus, for example 4 products, are filled at the same row and i need to be filled in one row for each product. information is showing like the image below:
next its my code if you could help me please:
sendmail
[
from :zoho.loginuserid
to :Despacho_Realizado.Customer.Email,Despacho_Realizado.Customer.Email_2
subject :"[Order ID-" + Despacho_Realizado.Order_ID + "]Order Delivered (Despacho Realizado)"
message :"Hi,<div><br></div><div>Your order[" + Despacho_Realizado.Order_ID + "] is out for delivery.</div><div><br></div><div>Thank you for your order.</div> <table cellpadding=\"2\" cellspacing=\"2\" border=\"1\" style=\"width: 100%; font-size: 10pt;\"> <thead><tr><th>Fecha Pedido</th><th>Fecha Entrega</th><th>Cliente</th><th>Razon Social</th><th>Producto</th><th>Uni. Medida</th><th>Cantidad</th><th>Precio</th><th>Total</th><th>Observ. Cliente</th></tr></thead> <tbody><tr><td>" + Despacho_Realizado.Order_Date + "</td><td>" + Despacho_Realizado.Estimated_Delivery_Date + "</td><td>" + Despacho_Realizado.Customer.Nombre_Cliente + "</td><td>" + Despacho_Realizado.Customer.Razon_Social + "</td><td>" + Despacho_Realizado.Products.Product.Product_Name + "</td><td>" + Despacho_Realizado.Products.Unidad_de_Medida_2 + "</td><td>" + Despacho_Realizado.Products.Quantity + "</td><td>" + Despacho_Realizado.Products.Unit_Price + "</td><td>" + Despacho_Realizado.Products.Total + "</td><td>" + Despacho_Realizado.Observaciones_del_Cliente + "</td></tr></br></tbody></table><div><br></div><div>Regards,</div><div>" + zoho.loginuserid + "</div><div><br></div><div><br></div>"
]
REGARDS