AutoNotification gmail, detect the email sender email address

Discussion in 'AutoApps' started by zodd06, Sep 20, 2017.

  1. zodd06

    zodd06 New Member

    Joined:
    May 4, 2016
    Messages:
    9
    Likes Received:
    1
    Hello, I've been working on creating an autonotification to announce who sent me a gmail.
    I set up a test profile/task to detect an incoming gmail and write several autonotification variables to a temp file so I can see if the gmail sender address shows up. So far I'm only seeing my gmail address, the subject and body.
    Is this possible? If so which variable would I look at?

    thanks,
    Mike
     
  2. zodd06

    zodd06 New Member

    Joined:
    May 4, 2016
    Messages:
    9
    Likes Received:
    1
    update...
    It seems like %antext contains the Email sender name, 3 spaces, then the subject text.
    How can I use the var split function to split by 3 spaces? I tried just putting in 3 spaces in the splitter field but it does not seem to take it.

    thanks,
    Mike
     
  3. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    This seems to work :)

    Code (Text):
    Test (106)
        A1: Variable Set [ Name:%test To:ffy   ggxf Recurse Variables:Off Do Maths:Off Append:Off ]
        A2: Variable Set [ Name:%spaces To:    Recurse Variables:Off Do Maths:Off Append:Off ]
        A3: Variable Split [ Name:%test Splitter:%spaces Delete Base:Off ]
        A4: Flash [ Text:%test() Long:Off ]
     
     
  4. zodd06

    zodd06 New Member

    Joined:
    May 4, 2016
    Messages:
    9
    Likes Received:
    1
    thanks, this works! just wondering if there is an autonotification variable that does directly show the senders email address. %antext seems to have the senders name instead of the actual address.
     
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    As far as I know there's not, sorry!
     
: gmail

Share This Page