Hi.
I'm trying to send an email out of mydbr - it is sent through an css inliner which then delivers it to various mailboxes.
However the css inliner requires that the head section contains the css to be inlined - so I need to add something like the following and be able to send it through the mail feature. I already succeded by putting the css in the body section - but the inliner doesn't process it unless it's in the head section.
<head>
<title>I need CSS in the head section</title>
/** No mydbr css or javascript */
<style type="text/css">
/** Inline css goes here */
</style>
</head>
</body>
Email content
</body>
</html>
As an addition in this case there is no need for any additional mydbr output for this report - I know I can disable most of it by adding &hdr=0 to the url - but in this case my procedure looks like this - could I somehow suppress the output of the mydbr css and javascript while adding my own css in the head.
DROP PROCEDURE IF EXISTS sp_DBR_email_campaign
$$
CREATE PROCEDUREsp_DBR_email_campaign
(inCampaignId int)
BEGIN
select 'dbr.title','';
select 'dbr.record','begin'; call sp_DBR_email_campaign_design(inCampaignId, 0); select 'dbr.record','end'; select 'dbr.mail','1';
select 'support@mydbr.com', 'Hello Mydbr', 'Mydbr is great';
select 'dbr.mail.debug', 1; END
$$
P.S. I know I can add css to the head with javascript - this doesn't work in this case as I'm sending the output of the report via email.