Skip to main content
added 14 characters in body
Source Link
Lukas Lunow
  • 22.2k
  • 4
  • 27
  • 59

I set up sending an attachment in my email using an amp script.

%%[

var @customerKey, @fileAlias
set @fileName = "https://drive.google.com/file/d/1234567890/view?usp=sharing"
set @fileAlias = "Test_Attachments.pdf"

AttachFile("HTTP", @fileName, @fileAlias,4,5,6,7,true)

]%%
%%[

var @customerKey, @fileAlias
set @fileName = "https://drive.google.com/file/d/1234567890/view?usp=sharing"
set @fileAlias = "Test_Attachments.pdf"

AttachFile("HTTP", @fileName, @fileAlias,4,5,6,7,true)

]%%

As a link from where the file should be taken, I indicated a link to google drive (having previously opened access to the file). Link above like example

But I'm facing a problem when an email arrives, the attachment won't open and the error "You may be offline or with limited connectivity. Try downloading instead" is thrown, while downloading the following error "Failed to load PDF document.".

What could be the problem? I did not find adequate examples of use.

I set up sending an attachment in my email using an amp script.

%%[

var @customerKey, @fileAlias
set @fileName = "https://drive.google.com/file/d/1234567890/view?usp=sharing"
set @fileAlias = "Test_Attachments.pdf"

AttachFile("HTTP", @fileName, @fileAlias,4,5,6,7,true)

]%%

As a link from where the file should be taken, I indicated a link to google drive (having previously opened access to the file). Link above like example

But I'm facing a problem when an email arrives, the attachment won't open and the error "You may be offline or with limited connectivity. Try downloading instead" is thrown, while downloading the following error "Failed to load PDF document.".

What could be the problem? I did not find adequate examples of use.

I set up sending an attachment in my email using an amp script.

%%[

var @customerKey, @fileAlias
set @fileName = "https://drive.google.com/file/d/1234567890/view?usp=sharing"
set @fileAlias = "Test_Attachments.pdf"

AttachFile("HTTP", @fileName, @fileAlias,4,5,6,7,true)

]%%

As a link from where the file should be taken, I indicated a link to google drive (having previously opened access to the file). Link above like example

But I'm facing a problem when an email arrives, the attachment won't open and the error "You may be offline or with limited connectivity. Try downloading instead" is thrown, while downloading the following error "Failed to load PDF document.".

What could be the problem? I did not find adequate examples of use.

Source Link
Slavik
  • 25
  • 1
  • 1
  • 4

Attachment sent incorrectly

I set up sending an attachment in my email using an amp script.

%%[

var @customerKey, @fileAlias
set @fileName = "https://drive.google.com/file/d/1234567890/view?usp=sharing"
set @fileAlias = "Test_Attachments.pdf"

AttachFile("HTTP", @fileName, @fileAlias,4,5,6,7,true)

]%%

As a link from where the file should be taken, I indicated a link to google drive (having previously opened access to the file). Link above like example

But I'm facing a problem when an email arrives, the attachment won't open and the error "You may be offline or with limited connectivity. Try downloading instead" is thrown, while downloading the following error "Failed to load PDF document.".

What could be the problem? I did not find adequate examples of use.