Alpha Video Training
Results 1 to 10 of 10

Thread: Built-in Email Client Settings

  1. #1
    "Certified" Alphaholic
    Real Name
    Michael Humby
    Join Date
    Apr 2000
    Location
    Leicester, UK
    Posts
    1,036

    Default Built-in Email Client Settings

    Is there any way to automatically copy/import email settings from an external email client (Outlook, Thunderbird etc) into the Alpha Five built-in email client? I'm using ReportMailer to send out multiple .pdfs to multiple clients. My end users are not going to have any idea what their email settings are and I'm dreading talking them all through manually doing it.

    Michael

  2. #2
    "Certified" Alphaholic
    Real Name
    Mike Christensen
    Join Date
    Nov 2005
    Location
    Michigan U.P.
    Posts
    5,937

    Default Re: Built-in Email Client Settings

    Hi Michael,

    Noone answered so I will give it a shot. I checked a few email functions out and although I have not done so it does look doable. Using the Email_Load_Profile() function to obtain the email settings you want to transfer to the Alpha mail settings and then using Registry_Save _settings() function to add them to the registry so the default Alpha mail can read them.

    http://support.alphasoftware.com/alp...ILE_LOAD().htm

    http://support.alphasoftware.com/alp...SETTINGS().htm
    Mike
    __________________________________________
    It is only when we forget all our learning that we begin to know.
    It's not what you look at that matters, it's what you see.
    Henry David Thoreau
    __________________________________________




  3. #3
    "Certified" Alphaholic Keith Hubert's Avatar
    Real Name
    Keith Hubert
    Join Date
    Jul 2000
    Location
    London, UK
    Posts
    6,930

    Default Re: Built-in Email Client Settings

    Hi Mike,

    Thanks for bringing this out to see the light of day.

    From what I understand you are saying, is that you copy the default email settings in the registry, and save them in another part of the registry for Alpha to use. Have I got that bit right?

    email_get_active() gives me the alpha default not Outlook default, how do I get the Outlook default?
    Regards
    Keith Hubert
    Alpha Guild Member
    London.
    KHDB Management Systems
    Skype = keith.hubert


    For your day-to-day Needs, you Need an Alpha Database!

  4. #4
    "Certified" Alphaholic
    Real Name
    Mike Christensen
    Join Date
    Nov 2005
    Location
    Michigan U.P.
    Posts
    5,937

    Default Re: Built-in Email Client Settings

    Hi Keith,
    I haven't messed with it yet but using Email_Load_Profile() you have to first know what profile is to be used from wherever---it lists both my emails with the word "Default" after the one designated as such. By entering in an email into this function it gives you a dot variable that can be used for the email's properties.....the Registry_Save _settings() function I would think could be used to add them to the registry so the default Alpha mail can read them.

    To get the default email address entered into the first function Email_Load_Profile() without knowing it may need more work---I will look into it later if no others come forward but won't be until much later today or perhaps even tomorrow.

    EDIT: the function EMAIL_GET_ACTIVE() returns my secondary email address which IS NOT the active email so apparently at least a version 8 bug.


    LATER: You could maybe use the following to get the default email....

    Code:
    dim lst as c
    
    lst=A5_EMAIL_PROFILES_ENUM()
    
    word(lst,WORD_NUMBER_GET(lst,"Default",crlf())-1)
    Last edited by MikeC; 07-14-2008 at 09:24 AM.
    Mike
    __________________________________________
    It is only when we forget all our learning that we begin to know.
    It's not what you look at that matters, it's what you see.
    Henry David Thoreau
    __________________________________________




  5. #5
    "Certified" Alphaholic
    Real Name
    Mike Christensen
    Join Date
    Nov 2005
    Location
    Michigan U.P.
    Posts
    5,937

    Default Re: Built-in Email Client Settings

    Hi !

    :o
    I spoke a bit too soon regarding this.....the a5_email_profiles_enum() function only brings up what has been set up via Alpha in the Settings. So it will NOT work as I have suggested. I will check out another idea yet tonight on this.
    Mike
    __________________________________________
    It is only when we forget all our learning that we begin to know.
    It's not what you look at that matters, it's what you see.
    Henry David Thoreau
    __________________________________________




  6. #6
    "Certified" Alphaholic
    Real Name
    Mike Christensen
    Join Date
    Nov 2005
    Location
    Michigan U.P.
    Posts
    5,937

    Default Re: Built-in Email Client Settings

    Hi,
    Couple of things. There is no function in Alpha I can find that will determine what the current default (or any for that matter) external email client is. I searched a bit for a .vbs script that would accommodate but could not find one ....

    Also, my statement of
    the function EMAIL_GET_ACTIVE() returns my secondary email address which IS NOT the active email so apparently at least a version 8 bug.
    was also incorrect in that it does indeed return the active email client---active is not equal to default or current...just means which has been chosen as active either sxplicitly via xbasic or by actually selecting it in Settings.

    :( Try to make up for my blunders sometimes but seem to just make more!!! There has to be a .vbs script that will determine the external email client and also what its settings are---just haven't found it....maybe someone else will have better luck searching.
    Mike
    __________________________________________
    It is only when we forget all our learning that we begin to know.
    It's not what you look at that matters, it's what you see.
    Henry David Thoreau
    __________________________________________




  7. #7
    "Certified" Alphaholic
    Real Name
    Michael Humby
    Join Date
    Apr 2000
    Location
    Leicester, UK
    Posts
    1,036

    Default Re: Built-in Email Client Settings

    Mike,

    I too figured out last night when messing around with the "REGISTRY.LOAD_SETTINGS()" function you suggested that it is just bringing in the settings manually input into the Alpha mail client and not from the Outlook settings.

    Thanks for your input though, it would be great if we could find a way to automatically import the end users existing email settings without having to instruct them by phone.

    I'll keep looking into it and let you know if I find anything,

    Thanks,

    Michael.

  8. #8
    "Certified" Alphaholic Keith Hubert's Avatar
    Real Name
    Keith Hubert
    Join Date
    Jul 2000
    Location
    London, UK
    Posts
    6,930

    Default Re: Built-in Email Client Settings

    Hi Michael,

    I have a button on a form which uses the AS Send Email Message. You set it to Send an e-mail message using the default external e-mail client.

    It uses the email address on the form.

    I have put in a dialog to warn the user if there is no email address.

    So there is no need to import anything, as Alpha picks up the settings and does the job.
    Regards
    Keith Hubert
    Alpha Guild Member
    London.
    KHDB Management Systems
    Skype = keith.hubert


    For your day-to-day Needs, you Need an Alpha Database!

  9. #9
    "Certified" Alphaholic
    Real Name
    Michael Humby
    Join Date
    Apr 2000
    Location
    Leicester, UK
    Posts
    1,036

    Default Re: Built-in Email Client Settings

    Keith,

    I realise you can do this when sending an individual report, but I am talking about using the report mailer add-in to automatically send out possibly hundreds of reports as pdfs to hundreds of clients. To do this, as I see it presently we are forced to use the A5 client and so have to phone each user to talk them through inputting their own email settings into the A5 client. This is what we are trying to avoid,

    Regards,

    Michael.

  10. #10
    "Certified" Alphaholic Keith Hubert's Avatar
    Real Name
    Keith Hubert
    Join Date
    Jul 2000
    Location
    London, UK
    Posts
    6,930

    Default Re: Built-in Email Client Settings

    Hi Michael,

    I do have Report Mailer. In the instructions, when setting up it reads.

    8. Optionally, if you have any e-mail profiles, select a profile in the E-mail Profile list.
    If you do not select a "Profile" I assume that it will pick up the default email the same as the Send email.

    I have also ascertained that the ReportMailer must be loaded onto each and every machine that it is being used on. Which means you cant load it into an application which is then distributed. I'm not too happy about that.

    I have asked for clarification if the default email as used in Send Email, (see thumbnail) is the same as the default profile for the ReportMailer. Maybe here lies our problem?

    When is a Default not a Default? When it it is in ReportMailer?
    Last edited by Keith Hubert; 07-15-2008 at 07:57 AM.
    Regards
    Keith Hubert
    Alpha Guild Member
    London.
    KHDB Management Systems
    Skype = keith.hubert


    For your day-to-day Needs, you Need an Alpha Database!

Similar Threads

  1. Where is the email settings saved?
    By DaveM in forum Alpha Five Version 7
    Replies: 1
    Last Post: 07-27-2007, 01:27 PM
  2. Alpha Email Client - Forwarding email
    By Steve Wood in forum Alpha Five Version 7
    Replies: 0
    Last Post: 03-31-2006, 04:43 AM
  3. Email client
    By Schulzie in forum Alpha Five Version 6
    Replies: 4
    Last Post: 07-09-2005, 03:01 PM
  4. Email Registry Settings
    By bccs in forum Alpha Five Version 5
    Replies: 2
    Last Post: 03-31-2004, 09:19 AM
  5. email client
    By Chester Kylstra in forum Alpha Five Version 5
    Replies: 2
    Last Post: 12-02-2002, 11:10 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
  •