Send email attach pdf, excel file but cannot open file

(4 posts) (2 voices)


No tags yet.

  1. tungnx21, Member

    Dear all,

    I using this syntax to export report and attach to email:
    select 'dbr.mail.attach', concat('xxx','.xlsx'), CONCAT("http://xxx.xx/report//report.php?r=1724&u1=37393&m=132&h=685c351ee0fc229f66becb111956384cd411cfb9","&export=xlsx");

    But the attach file cannot open with excel and pdf.
    Can you help me fix this?

  2. myDBR Team, Key Master

    So the attachment is being generated, but Excel cannot open it?

    Can you send the generated attachment into support email so we can take a look at it.

    myDBR Team

  3. tungnx21, Member

    Yep, the attachment has been generated, but cannot open.
    I have sent an email to!

  4. myDBR Team, Key Master

    Based on the file, the URL you are using is not correct. Can you try the URL directly in your browser?

    myDBR Team


You must log in to post.