LB Booster
« Sending email from LBB »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 04:04am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Sending email from LBB  (Read 558 times)
Dermot
New Member
Image


member is offline

Avatar




PM


Posts: 1
xx Sending email from LBB
« Thread started on: Nov 24th, 2016, 08:02am »

I would like to send invoices directly from my LBB program without having to do so from my Gmail. The invoices I create as PDF's using Bullzip. Other threads on this subject under LB suggest using SendEmail.exe but this does not seem to download any more.
Are there other ways?
If so please supply an example
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Sending email from LBB
« Reply #1 on: Nov 24th, 2016, 09:10am »

on Nov 24th, 2016, 08:02am, Dermot wrote:
Are there other ways?

It's easy enough if you have access to a SMTP server that doesn't require encryption. Commonly, if you are on a wired (or fiber) internet connection your ISP will provide such a server, because the fact that you are using a 'physical' connection eliminates the need for encryption.

In that case it's possible to send an email by communicating with the SMTP server directly; I can probably hunt out some LB code to do that if you are interested.

But if the only email servers you have access to all require encryption then it may be easier to use a separate tool.

Richard.
User IP Logged

Pablo
New Member
Image


member is offline

Avatar




PM


Posts: 3
xx Re: Sending email from LBB
« Reply #2 on: Dec 9th, 2016, 9:04pm »

Hello,

I found this:

http://caspian.dotconf.net/menu/Software/SendEmail/sendEmail-v156.zip

http://alycesrestaurant.com/sendemailexe.htm

Hope this helps,

-Pablo
User IP Logged

Mystic
Junior Member
ImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 53
xx Re: Sending email from LBB
« Reply #3 on: Dec 23rd, 2016, 4:32pm »

Not sure if this is exactly what you need, but I found this while researching this for a program I run at work.

My work network is extremely secure, so I'm stuck not being able to download and install ANY third party programs, but I can roll my own.

I have a program that monitors my network sites, but up until now could only notify me while I was in my office since it didn't have a sendmail type ability.

Looking if there was a batch file type answer I could use, I ran across using Powershell.

For version 2 of Powershell I created a Powershell script (which I named "message.ps1") from my program that has the following code in it.

Code:
$PSEmailServer = "your.smtp.server.here"
Send-MailMessage -From "you@yourmail.net" -To "Wherever@theirMail.com" -Subject "Something Amazing" -Body "The words of wisdom you want to send" 


From within my LBB code I used this to run the script.

Code:
RUN "Powershell.exe -executionpolicy remotesigned -File c:\directoryName\message.ps1"
 


Obviously this is a very simple demonstration, but it works great for my needs!

I'm not sure if you can add authentication, or attachments, since this was all I really needed I didn't dig deeper, but it might be an option for someone looking to do this in their programs.

Enjoy!
« Last Edit: Dec 23rd, 2016, 4:37pm by Mystic » User IP Logged

- Rick
Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls