Open email client with pre-populated email, subject and attachment
I'm trying to combine the Email function and openURL
I use the following for invoices, which is 100% fine
let myEmail := userEmail();
let myPdf := printAndSaveRecord(this, "Quotes");
let myName := "Cardia Bioproducts Quote" + ".pdf";
importFile(this, myPdf, myName);
sendEmail({
from: myEmail,
to: Customer.'Account Email',
subject: "Cardia Bioproducts Invoice",
text: "Please find attached the invoice for your order 'Purchase Order #' on Date",
attachments: file(this, myName)
});
But I want to achieve the above with the same effects that the below achieves. Not sure how to add the attachment though.
openURL("mailto:" + Contact.Email + "?" + "&subject=" + 'Quote Number')
4 replies
-
You cannot add an attachment to a URL..
-
bump. This is really helpful, sendemail() is usefull but if its possible on my mail app (including added attachment) would be extemely helpful
-
I have the same question, mainly bcs all my email send with the fucntion sendEmail are going directly to the spam inbox. Is there any reason for that ?
-
The main reason for that would be because the Ninox mail server spoofs as which ever email address you put in the From: field. I would think that a lot of spam would use this technique to make you think that it is from a different/legitimate source. So yes, it could be hit a miss. I personally haven't had any issues with this so far, but people’s Gmail accounts do warn you that the email could be spoofed.
Content aside
- 3 yrs agoLast active
- 4Replies
- 1817Views