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

Email_client() stopped working?

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

    Email_client() stopped working?

    Can anyone else confirm whether the email_client() function has stopped working?

    If I open A5 to a very simple application, go directly to the Interactive Editor and enter:
    email_client()

    The A5 email client opens and I can enter a message but when I hit the "send" button, I get a "variable not found" error in a script named "Send_an_E-mail" at a line with the following text:
    email_send_result = email_send(send_to,subject,preview_string,attach,cc,bcc,.t.,text_type,"", profile, .F.)

    When I run the debugger, each variable seems to be ok!?

    FWIW: The issue started when I tried to run a script which entered a default mail_to, subject, body_text, and attachment. This script worked in past weeks but won't work today. I rebooted the computer and tried sending a simple e-mail directly from the Interactive Editor to see if it was a problem in my script. I'm not sure what version I was on when it last worked.

    #2
    RE: Email_client() stopped working?

    Oh Great! Now I find out that it actually did send the messages even though I get the error message. One customer ended up getting 6 copies of the same invoice!

    (Yes, I did check it in my email_outbox but nothing was there. I also sent myself an email but, due to delays in receiving them from my own email, they didn't appear to be going out.)

    Comment


      #3
      RE: Email_client() stopped working?

      I'm seeing the same thing Cal when attempting anything that requires Alpha's own email "compose" dialog to open but when using the following code on a button it sends as it should, with no errors. I've seen others reference this and I expect it will be corrected soon.

      Kevin Anderson


      DIM ps AS P
      DIM pm as P

      pm.from = "[email protected]"
      Pm.from_alias = "Kevin Anderson"
      pm.to = "[email protected]"
      pm.cc = ""
      pm.bcc = ""
      pm.subject = "JailCom Invoice"
      pm.message = "Invoice Attached"
      pm.html_message = "Invoice Attached"

      pm.attachments = ""%str%
      C:\jailcom\inv_prt\invoice.pdf
      %str%

      ' send message

      IF email_smtp_open(ps, "andersoft.com")
      email_smtp_send(pm, ps)
      END IF

      Email_smtp_close(ps)

      Comment


        #4
        RE: Email_client() stopped working?

        Cal,

        I've left a few messages regarding the Email_client() function and some quirky behavior. I do have a rather detailed funtion working on a button on a form. Simply it uses the report.saveas funtion and then opens the e-mail client function to send this report to a designated customer. It seems to work fine as a button but if I move the code to a custom menu A5 will freeze and I have to restart A5. I am using Alpha's built in e-mail client and I'm trying to clean up a form by moving buttons to a custom menu. I received the "variable not found" error in the beginning but now it is just freezing the system
        Jeffrey Wolfe

        Open Source Solutions
        Phone: (757) 819-4230
        Fax: (888) 300-5994
        E-mail: [email protected]

        Comment


          #5
          RE: Email_client() stopped working?

          Cal,

          Can you send me a copy of your outbox and your email settings (I don't need passwords or anything). Nothing has changed in email_client() in a over a year, but I have seen this occur before and want to track the problem down.

          Thanks,
          Aaron
          Aaron Brown
          Alpha Software Development Team

          Comment


            #6
            RE: Email_client() stopped working?

            I will send them on a separate e-mail but, in case it means anything or will help anyone else, I noticed as I was zipping them that the .ddx file has disappeared. The .ddm and .ddd are still there.

            Comment


              #7
              RE: Email_client() stopped working?

              Some days I hate working with computers!

              The email_client() is working again and I have no idea why.

              I did rename the old .ddd and .ddm files (as noted previously, the .ddx was missing) then opened the table so A5 would recreate all 3 data dictionary files. Then I deleted the new .ddd and .ddm and renamed the originals to get them back then ran a dictionary update in hopes of resetting the .ddx file. At that point, I rebooted and tried the email_client() but it still caused an error. Now, after deleting a few files and copying some stuff to CD (i.e., some general cleanup), the d(#*$& thing works.

              Comment

              Working...
              X