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













5












$begingroup$


Is it possible to receive emails through the mail server functionality of Mathematica with email attachments?










share|improve this question











$endgroup$











  • $begingroup$
    File -> Send Mail
    $endgroup$
    – user6014
    May 10 at 13:32















5












$begingroup$


Is it possible to receive emails through the mail server functionality of Mathematica with email attachments?










share|improve this question











$endgroup$











  • $begingroup$
    File -> Send Mail
    $endgroup$
    – user6014
    May 10 at 13:32













5












5








5


1



$begingroup$


Is it possible to receive emails through the mail server functionality of Mathematica with email attachments?










share|improve this question











$endgroup$




Is it possible to receive emails through the mail server functionality of Mathematica with email attachments?







email






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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
















  • $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










1 Answer
1






active

oldest

votes


















8












$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.






share|improve this answer











$endgroup$













    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
    );



    );













    draft saved

    draft discarded


















    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









    8












    $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.






    share|improve this answer











    $endgroup$

















      8












      $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.






      share|improve this answer











      $endgroup$















        8












        8








        8





        $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.






        share|improve this answer











        $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.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited May 10 at 15:15

























        answered May 10 at 13:52









        Carl LangeCarl Lange

        6,61911648




        6,61911648



























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

            What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

            Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos