Alpha Video Training
Results 1 to 3 of 3

Thread: Getting Email Attachments

  1. #1
    Member
    Real Name
    Stuart Pierce
    Join Date
    Dec 2008
    Posts
    3

    Default Getting Email Attachments

    I've searched and read and tried everything I could on the forum to try and simply get an email attachment, to no avail.

    dim esocket as P
    dim emessage as P
    dim emailresult as L
    dim emailfiles as C
    a5.command("View_Trace")
    emailresult = email_pop_open(esocket, "mail.evolve.net", "user", "pass")
    trace.writeln("emailresult= " + emailresult)
    trace.writeln("esocket.nmessages= " + esocket.nMessages)
    if esocket.nMessages > 0 then
    emailresult = email_pop_retr(emessage, esocket, 1, .T.)
    trace.writeln("emailresult= " + emailresult)
    emailfiles = email_save_attach(emessage)
    trace.writeln("emailfiles= " + emailfiles)
    end if

    Searched the whole hard drive for the attachment file name, no where to be found. No errors, trace window shows everything is all good except emailfiles is blank.

    esocket.nmessages= 14
    emailresult= True
    emailfiles=

    Something so simple, you would think.

  2. #2
    Member
    Real Name
    Stuart Pierce
    Join Date
    Dec 2008
    Posts
    3

    Default Re: Getting Email Attachments

    Outlook Express and accessing the email account via the web page method thinks and shows that there is a small text attachment. .content_type is multipart/mixed , .parts shows 17 array elements, each one all values are blank.

  3. #3
    Member
    Real Name
    Stuart Pierce
    Join Date
    Dec 2008
    Posts
    3

    Default Re: Getting Email Attachments

    Uncle, I had to write another app in another utility to get the attachment to read with Alpha5.

Similar Threads

  1. Email Attachments
    By andymeer@yahoo.co.uk in forum Alpha Five Version 7
    Replies: 1
    Last Post: 08-14-2008, 09:29 AM
  2. Email Attachments
    By Phil Rolf in forum Alpha Five Version 6
    Replies: 1
    Last Post: 10-07-2005, 04:51 PM
  3. Email Attachments
    By BRANDI MARQUINA in forum Alpha Five Version 5
    Replies: 9
    Last Post: 03-31-2003, 01:07 PM
  4. attachments for email
    By WillieLucas in forum Alpha Five Version 5
    Replies: 2
    Last Post: 12-14-2002, 02:11 PM
  5. Email Attachments
    By John Oesterle in forum Alpha Five Version 4
    Replies: 9
    Last Post: 11-03-2000, 06:38 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •