Receive email with attachmentsProgrammatically retrieving e-mails from a remote serverConfiguring Mathematica to send email from a notebookEncrypt the password used for SendMailSendMail fails to send zipped folderUsing SendMail with new Google Security RulesI did not receive mail sent using MathematicaHow to use notebook contents as body for an emailAre the mail settings as given in preferences still programmatically accessible in V 11.2How get MailSeverConnect to resolve host?Security of SendMail
Need to read my home electrical Meter
How to let other coworkers know that I don't share my coworker's political views?
How to cut a climbing rope?
How to politely tell someone they did not hit "reply to all" in an email?
Why did it take so long for Germany to allow electric scooters / e-rollers on the roads?
Drums and punctuation
Of strange atmospheres - the survivable but unbreathable
Is it legal to meet with potential future employers in the UK, whilst visiting from the USA
Do photons bend spacetime or not?
Did 20% of US soldiers in Vietnam use heroin, 95% of whom quit afterwards?
Writing style before Elements of Style
What weight should be given to writers groups critiques?
Dealing with spaghetti codebase, manager asks for things I can't deliver
How to melt snow without fire or body heat?
Must a warlock replace spells with new spells of exactly their Pact Magic spell slot level?
How does the EU Emissions Trading Scheme account for increased emissions outside the EU?
Why did other houses not demand this?
Is it legal to have an abortion in another state or abroad?
How do I superimpose two math symbols?
Why does Bran want to find Drogon?
Is superuser the same as root?
Python program to take in two strings and print the larger string
Why do Russians almost not use verbs of possession akin to "have"?
Gravitational Force Between Numbers
Receive email with attachments
Programmatically retrieving e-mails from a remote serverConfiguring Mathematica to send email from a notebookEncrypt the password used for SendMailSendMail fails to send zipped folderUsing SendMail with new Google Security RulesI did not receive mail sent using MathematicaHow to use notebook contents as body for an emailAre the mail settings as given in preferences still programmatically accessible in V 11.2How get MailSeverConnect to resolve host?Security of SendMail
$begingroup$
Is it possible to receive emails through the mail server functionality of Mathematica with email attachments?
$endgroup$
add a comment |
$begingroup$
Is it possible to receive emails through the mail server functionality of Mathematica with email attachments?
$endgroup$
$begingroup$
File -> Send Mail
$endgroup$
– user6014
May 10 at 13:32
add a comment |
$begingroup$
Is it possible to receive emails through the mail server functionality of Mathematica with email attachments?
$endgroup$
Is it possible to receive emails through the mail server functionality of Mathematica with email attachments?
edited May 10 at 13:55
Carl Lange
6,61911648
6,61911648
asked May 10 at 13:25
user907979user907979
261
261
$begingroup$
File -> Send Mail
$endgroup$
– user6014
May 10 at 13:32
add a comment |
$begingroup$
File -> Send Mail
$endgroup$
– user6014
May 10 at 13:32
$begingroup$
File -> Send Mail
$endgroup$
– user6014
May 10 at 13:32
$begingroup$
File -> Send Mail
$endgroup$
– user6014
May 10 at 13:32
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
I think you're looking for MailItem and its "Attachments" property.
Connect to a mailserver:
mail = MailServerConnect[]
Get the attachments of the last email:
mail["INBOX"][-1]["Attachments"]
More, but sparse, information is in the documentation for MailItem.
It's important to note that Mathematica itself is not a mail server and doesn't have the ability to receive mail itself - it can only interact with an existing mail server via IMAP. That existing mail server is the thing that receives mail.
$endgroup$
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "387"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f198117%2freceive-email-with-attachments%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
I think you're looking for MailItem and its "Attachments" property.
Connect to a mailserver:
mail = MailServerConnect[]
Get the attachments of the last email:
mail["INBOX"][-1]["Attachments"]
More, but sparse, information is in the documentation for MailItem.
It's important to note that Mathematica itself is not a mail server and doesn't have the ability to receive mail itself - it can only interact with an existing mail server via IMAP. That existing mail server is the thing that receives mail.
$endgroup$
add a comment |
$begingroup$
I think you're looking for MailItem and its "Attachments" property.
Connect to a mailserver:
mail = MailServerConnect[]
Get the attachments of the last email:
mail["INBOX"][-1]["Attachments"]
More, but sparse, information is in the documentation for MailItem.
It's important to note that Mathematica itself is not a mail server and doesn't have the ability to receive mail itself - it can only interact with an existing mail server via IMAP. That existing mail server is the thing that receives mail.
$endgroup$
add a comment |
$begingroup$
I think you're looking for MailItem and its "Attachments" property.
Connect to a mailserver:
mail = MailServerConnect[]
Get the attachments of the last email:
mail["INBOX"][-1]["Attachments"]
More, but sparse, information is in the documentation for MailItem.
It's important to note that Mathematica itself is not a mail server and doesn't have the ability to receive mail itself - it can only interact with an existing mail server via IMAP. That existing mail server is the thing that receives mail.
$endgroup$
I think you're looking for MailItem and its "Attachments" property.
Connect to a mailserver:
mail = MailServerConnect[]
Get the attachments of the last email:
mail["INBOX"][-1]["Attachments"]
More, but sparse, information is in the documentation for MailItem.
It's important to note that Mathematica itself is not a mail server and doesn't have the ability to receive mail itself - it can only interact with an existing mail server via IMAP. That existing mail server is the thing that receives mail.
edited May 10 at 15:15
answered May 10 at 13:52
Carl LangeCarl Lange
6,61911648
6,61911648
add a comment |
add a comment |
Thanks for contributing an answer to Mathematica Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f198117%2freceive-email-with-attachments%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
File -> Send Mail
$endgroup$
– user6014
May 10 at 13:32