最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

webview - Google Doc not being recognised as a attachment when automated using html template - Stack Overflow

programmeradmin2浏览0评论

I am attaching a google doc url i get in the webViewLink of the API response of the .files.create() method of google api lib for python

When i use the Gmail UI and attach a doc link it get's recognised as an attachment (even with restricted sharing permission) but when i attach the google doc link to an href html tag it isn't being recognised as an attachment

Is it a Gmail specific thing ? If not how do i get my link recognised as an attachment through html content

Here's my html for reference

<!DOCTYPE html>
<html lang="en">
<head>
    <title>None</title>
</head>
<body>    
    <p>
        <p>Hi All,</p>
        <p>Please find the attached drive reports:</p>
        <ul>
            <li>Investment Scheme/Product wise details</li>
            <li>Disbursement Scheme/Product wise details</li>
        </ul>
        <p>Best regards,</p>
        <p>BI Team</p>
    </p>
    
    <!-- Footer Section -->
    <footer>
        <div class="drive-link">
            <p>Here's the 
                <a href=";amp;ouid=12345678&amp;rtpof=true&amp;sd=true" 
                   target="_blank">Drive link</a> 
                for the same.
            </p>
        </div>
    </footer>
</body>
</html>

I tried pasting the link outside a div using a plain

or <h*> tag but it still didn't work

发布评论

评论列表(0)

  1. 暂无评论