Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

e-mail / thunderbird

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Re: e-mail / thunderbird

    Jeff, I have been doing the create pdf and email it out process as you suggested in your last post.

    I did find that Alpha will do some of the report mailing directly with Thunderbird but not all and not always.

    Larry

    Comment


      #17
      Re: e-mail / thunderbird

      Jeff

      Would this function be of any use - No extensive error checking or testing, but should work with Thunderbird 2. Thunderbird 3 can use absolute filenames, so the filename change can probably be taken out.


      Code:
       
      'Date Created: 23-Apr-2009 12:42:24 AM
      'Last Updated: 23-Apr-2009 01:18:23 AM
      'Created By  : Chris Hawkes
      'Updated By  : Chris Hawkes
      FUNCTION TBird2_Email AS L (th_eml_to="" AS C, th_eml_cc="" AS C, th_eml_subject="" AS C, th_eml_message="" AS C,th_eml_file="" AS C )
       'TBird2_Email(Send To Address, CC Address, Subject, Message, Filename)
       DIM th_attach AS C
       DIM th_commandline AS C
       DIM th_program AS C
       th_program="c:\program files\mozilla thunderbird\thunderbird" 'Thunderbord Program Location - No Need For .exe
       IF alltrim(th_eml_file)<>"" 'Check To See IF Filename Is Blank
        IF file.exists(th_eml_file) 'Check To See IF The File Exists
         
         'Attachment Filename Must Be In This Format - [URL]file:///fullpath/filename[/URL] So Convert Filename Here
         th_attach="[URL="file:///%22+stritran(th_eml_file,%22//%22,%22/"]file:///"+stritran(th_eml_file,"\\","/[/URL]")
         'Load Thunderbird Compose With Attachment Command
         'If Thunderbird Is Located In A Different Folder Then The Following Line Needs To Reflect This
         th_commandline=th_program+" -compose to="+th_eml_to+chr(44)+"cc="+th_eml_cc+chr(44)+"subject="+th_eml_subject+chr(44)+"body="+th_eml_message+chr(44)+"attachment="+th_attach
        ELSE
         ui_msg_box("Error","The File Specified Does Not Exist",UI_OK)
        END IF
       ELSE
        'Load Thunderbird Compose Without Attachment Command
        'If Thunderbird Is Located In A Different Folder Then The Following Line Needs To Reflect This
        th_commandline=th_program+" -compose to="+th_eml_to+chr(44)+"cc="+th_eml_cc+chr(44)+"subject="+th_eml_subject+chr(44)+"body="+th_eml_message
       END IF
       sys_shell(th_commandline)
       
      END FUNCTION
      I've attached the function as an import text file.

      Chris
      Last edited by ChrisHawkes; 04-22-2009, 08:44 PM.
      If It Works First Time, There's Something Wrong!!!

      Comment


        #18
        Re: e-mail / thunderbird

        Thank you, Chris. I'll try your function and let you know how I make out.

        Jeff

        Comment


          #19
          Re: e-mail / thunderbird

          Chris -

          I tried your function and it worked perfectly for us. Thank you very much.

          Jeff

          Comment


            #20
            Re: e-mail / thunderbird

            Jeff

            Thanks for letting us know. I can confirm that Thunderbird 3 beta 2 can accept the conventional filename for attachments. When TB3 Beta 3 is ready, I'll check Alpha's 'email_client_external'

            Chris
            Last edited by ChrisHawkes; 04-28-2009, 04:48 PM.
            If It Works First Time, There's Something Wrong!!!

            Comment


              #21
              Re: e-mail / thunderbird

              After reading thru this thread and trying some of the work around's including the one from Chris, I informed my client who only uses Thunderbird that they would have to manually attach their reports since this seems to be a Thunderbird problem.
              That worked until I met with them again and they asked why we couldn't automatically add the attachment when the email is created (using email_client_external()) when if they use the "File Send As" drop down in the report toolbar it does successfully attach the file, unfortunately there is no way to create the rest of the email using this method.

              Since I had no answer for that, I'll ask here, Why can it be attached one way and not the other ? I agree that it is basically a Thundirbird problem, but obviously Alpha has figured out how to do it one way but not using email_client_external() I also looked at it some more and found that sometimes file.send() sometimes can attach, but not always

              Like my client, I would think that if it can be done sometimes, it should work from other methods

              I have enough trouble solving problems I create for my self without having to answer questions like this from upset clients
              Bruce Rainwater

              Comment


                #22
                Re: e-mail / thunderbird

                Did you see this thread - particularly messages 17 (which refers to another "Chris" thread) and 18 which shows (a) how I determined if Thunderbird was being used and (b) my function for sending e-mail through Thunderbird WITH 'automated' attachments.

                Unfortunately, I never found a way to make any of the built-in A5 functions work with Thunderbird so, building on what Chris had already done, I built my own function with a few improvements. (I don't remember what they were but one was the use of URLEncode so special characters wouldn't cause problems. I think the ability to have multiple 'automatic' attachments was also one of the improvements.)

                If you have some users with Thunderbird and others using something else, you will need an IF statement to determine what they are using before deciding whether to use an A5 function or the T'Bird function.

                Comment


                  #23
                  Re: e-mail / thunderbird

                  Originally posted by CALocklin View Post
                  ... I built my own function with a few improvements....
                  Great, but it just goes to show that if Alpha gave a damn about this problem it could have been fixed years ago when it was first reported as a serious problem. As commonly used as Thunderbird is, there is simply no excuse for Alpha not to have a built-in solution to the problem in all its email functions.

                  Raymond Lyons

                  Comment

                  Working...
                  X