Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4496 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi - I'm experimenting with the Email Plugin to see if it would work for us. Using the Plugin, when I view an email with an attachment, where the attachment name would be it says, "Not Downloaded:211206~1.pdf".

When I click that, it displays an alert that says, "Could not locate messageID <B0003996844@vljcms00> in mailbox INBOX. Maybe this message was deleted?"

In the "Attachments" table, there are no records yet.

When I view the Inbox the old way, this message is still there -- has not been deleted.

Why would it think the message was deleted or how can I view the attachments?

Posted

There is an optional parameter "attachments" in the EmailReadMessages function that when set to "true" will download the attachments. You can then get a list of attachments (paths to the downloaded files) using the EmailReadMessageValue ( "attachments" ) function. Then to get those into a container field in FileMaker you'd use the EmailReadAttachment ( path ) and set the field to what is returned by this function (the downloaded attachment file).

  • 1 month later...
Posted

Thank you! In the EmailReadMessages function, the parameter "attachments" is set to "true". It looks like this:

EmailReadMessages(

"mailbox=" & msg_MBOX::name ;

"readonly=true" ;

"messageId=" & MSG::messageId ;

"attachments=true" ;

"progress=true"

)

A comment in the sample code says, "#Call EmailReadNextMessage. If this fails, it means the message doesn't exist on the server"

But the message is still in the Google Apps account -- why might it say it doesn't exist on the server?

Posted

For "Inbound Server (Receiving)", it says "pop.gmail.com:[my email address]" so I think that means connecting to POP mail server? I will send log.

  • 2 weeks later...

This topic is 4496 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.