Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast
Results 1 to 15 of 54
  1. #1
    Join Date
    May 2006
    Posts
    1,443

    FREE : SMTP Action Plugin

    Here is a new action plugin

    it is a smtp mailer
    i know there are various smtp tools on the forum but
    maybe you may find this native action plugin useful

    all in one action

    Some About Plugin :
    • It has 1 function/action
    • help file was not included yet
    • There is 1 example project within package which utilize plugin
    • Example made in AMS 7.5.1004.0
    • Plugin may send e-mails through your smtp server
    • Plugin supports attachments
    • Plugin supports SSL\TSL connections
    • Plugin compatible with most of free mail servers
    • Plugin uses CDO API and mostly firewall safe

    Sample Usage Of Plugin :

    PHP Code:
    tblMailProperties = {};
    tblMailProperties.FromName "Test";
    tblMailProperties.FromEmail "test@test.com";
    tblMailProperties.To "test@test.com";
    tblMailProperties.HtmlBody "<b>Test<//b>";
    tblMailProperties.Subject "Subject";
    tblMailProperties.CC "";
    tblMailProperties.BCC "";

    tblServerProperties = {};
    tblServerProperties.Server "smtp.test.com";
    tblServerProperties.ServerPort 20;
    tblServerProperties.UseSSL true

    tblServerProperties.Authenticated true;  
    tblServerProperties.UserName "username"
    tblServerProperties.PassWord "******";            

    tblAttachments = {};
    tblAttachments[1] = _SourceFolder.."\\AutoPlay\\Docs\\AttachmentTest.txt";
    tblAttachments[2] = _SourceFolder.."\\AutoPlay\\Docs\\AttachmentTest2.txt";


    result SMTP.SendMail(tblMailPropertiestblServerPropertiestblAttachments); 
    You can also see some descriptions in sample AMS project

    You can download it fom here

  2. #2
    Join Date
    Oct 2007
    Location
    Gensokyo
    Posts
    1,324
    very nice, got my download.

  3. #3
    Join Date
    Jan 2009
    Posts
    172
    thanks!!

    but fail with gmail?

    Code:
    Flash.SetVisible("Flash1", true);
    Label.SetVisible("Label1", true);
    
    -- %%%%%%%%%%%%%%%%%%   Mail Properties  %%%%%%%%%%%%%%%%%%
    
    tblMailProperties = {};
    tblMailProperties.FromName = "Test";
    tblMailProperties.FromEmail = "email@gmail.com";
    tblMailProperties.To = "emailto@hotmail.com";
    --tblMailProperties.TextBody = "Test";
    tblMailProperties.HtmlBody = "<b>Test<//b>";
    tblMailProperties.Subject = "Subject";
    tblMailProperties.CC = "";
    tblMailProperties.BCC = "";
    
    
    -- %%%%%%%%%%%%%%%%%%   Server Properties  %%%%%%%%%%%%%%%%%%
    
    tblServerProperties = {};
    tblServerProperties.Server = "smtp.gmail.com";
    tblServerProperties.ServerPort = 20;
    tblServerProperties.UseSSL = true;  -- or false
    
    tblServerProperties.Authenticated = true;  -- or false
    tblServerProperties.UserName = "email@gmail.com";  -- if Authenticated = false you do not need to define this table index
    tblServerProperties.PassWord = "password";            -- if Authenticated = false you do not need to define this table index
    
    
    -- %%%%%%%%%%%%%%%%%%   Attacments  %%%%%%%%%%%%%%%%%% -- Set to nil if no attachments 
    
    tblAttachments = {};
    tblAttachments[1] = _SourceFolder.."\\AutoPlay\\Docs\\AttachmentTest.txt";
    tblAttachments[2] = _SourceFolder.."\\AutoPlay\\Docs\\AttachmentTest2.txt";
    
    -- %%%%%%%%%%%%%%%%%%   Send Mail  %%%%%%%%%%%%%%%%%%
    
    result = SMTP.SendMail(tblMailProperties, tblServerProperties, tblAttachments);
    
    -- result = "OK" on succeed  and a Error Description on failure
    
    Flash.SetVisible("Flash1", false);
    Label.SetVisible("Label1", false);
    
    Dialog.Message("Notice", result, MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
    return IDispacht error # 19

  4. #4
    Join Date
    Jan 2009
    Posts
    172
    ok solved!

    port = 25

    Thanks!! works perfect!

  5. #5
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    Once again a nice job, thanks!
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  6. #6
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    What's error #19? I'm messing up somewhere.

    I'm using the correct port for my server (25)

    *EDIT, forgot to turn of SSL, solved.
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  7. #7
    Join Date
    Jan 2009
    Posts
    172
    reteset

    this plugn not work in Windows 7 64 bits (aplication crash on send email)

  8. #8
    Join Date
    Jan 2009
    Posts
    172
    and...

    In VISTA 64 bits not work

    (now testing XP 64 bits...)

  9. #9
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    Quote Originally Posted by Tomasin View Post
    and...

    In VISTA 64 bits not work

    (now testing XP 64 bits...)
    It works perfectly fine on Vista 64.
    Dermot

    I am so out of here

  10. #10
    Join Date
    May 2006
    Posts
    1,443
    Quote Originally Posted by Tomasin View Post
    and...

    In VISTA 64 bits not work

    (now testing XP 64 bits...)

    Man , you should at least test it good before say , It does not work
    i know , it works on Vista 32 and 64
    if you can not run the plugin on your system ,this does not mean plugin does not work

    and Windows 7 ; since Windows 7 is Beta and there are thousands of bug reports about it
    i did not test this plugin on windows 7 , and i have no way to test it on Windows 7 right now
    i did a research then your message and found something about SendUsing property
    some comments referencing to this property but this property accepts only two values

    those are :

    1 Send using local mail server
    2 Send using remote mail server

    this plugin uses 2 for that property

    it probably should be a version specific problem

    if anyone willing to test and debug this plugin on Windows 7
    i can prepare a custom debug version and attach to this theread
    which writes some debug output to a file for send back to me
    maybe i can find the issue and make this plugin compatible with Windows 7
    with your support

    thanks

  11. #11
    Join Date
    Jan 2009
    Posts
    172
    Plugin fail in my VISTA/WINDOWS 7 64 bits

    this works, but on sendemail lock de application and close.

    this is used in one dialogex, on suthdown event.

  12. #12
    Join Date
    Jan 2009
    Posts
    172
    More info reteset.

    Tested in 3 system with vista 64 bits...

    In 2 fail and in one works perfect

    I do not understand because it works for some and not in others ...

    Could be the language of the operating system? (Spanish in this case).

    Windows 7 32-bit if it works, but not in 64 bits.

    Hope you provide this information. Un saludo

  13. #13
    Join Date
    May 2007
    Posts
    76
    thank you it's work fine in windows 7 32
    ========i try this and work very fine and fast========
    Gmail
    smtp.gmail.com

    port
    465
    ============================================

    windowslive + hotmail
    smtp.live.com
    port 25


    yahoo
    * Incoming Mail Server (POP3): plus.pop.mail.yahoo.com
    Use SSL, port: 995
    * Outgoing Mail Server (SMTP): plus.smtp.mail.yahoo.com
    Use SSL, port: 465, use authentication.
    Last edited by mohab1; 05-21-2009 at 06:30 AM.

  14. #14
    Join Date
    Jul 2007
    Posts
    1,512
    Hey all for some of you that have problems with port 25 you also might be blocked by your ISP what happens with most mobile broadband providers and
    some smaller companys.

    most email service have another port that can be used EG bluehost email
    secand port is 26 and some are 2525 and some are hire range ports.

    just thought i say this just in case it helps

  15. #15
    Join Date
    Apr 2009
    Posts
    277
    lol, i threw my USB mobile modem in the bin, its useless, we went with PostOffice Home Phone+Broadband package but after 2 weeks i can say there customer service sucks, phone went down for 3 days and they denied there was a fault and said its my brand new phone that's at fault, few days later it seemed to *fix* itself and my faulty phone is no longer faulty

    if anyone ever finds a UK ISP that is worth paying £25+ a month for plz let me know

    as for 3G, im not supprized they blocked port 25, but then most non business lines have port 25 blocked, if you want it open you've got to pay for it.

+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast

Similar Threads

  1. Free WindowEx Action Plugin
    By reteset in forum AutoPlay Media Studio 7.5
    Replies: 88
    Last Post: 01-30-2011, 10:40 AM
  2. SQLite3 Action Plugin (free)
    By reteset in forum AutoPlay Media Studio 7.5 Plugins
    Replies: 27
    Last Post: 05-20-2010, 04:01 PM
  3. FREE: UserMgmt Action Plugin
    By TimeSurfer in forum AutoPlay Media Studio 7.5
    Replies: 3
    Last Post: 04-11-2010, 09:21 PM
  4. FREE ACTION PLUGIN: Assert
    By ShadowUK in forum AutoPlay Media Studio 7.5
    Replies: 17
    Last Post: 02-22-2009, 05:36 AM
  5. SUF6.0.0.2 -- installer hangs.
    By jassing in forum Setup Factory 6.0
    Replies: 4
    Last Post: 12-19-2001, 11:28 PM

Posting Permissions

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