Send Email


Demo to send email from your email account, with optional attachment.

This program requires sendemail.exe and sendemail.pl, available free from Caspian's SendEmail Site

Commandline Switches:

Required:

Common: Optional:

Thanks to Joseph Essin for the following link. This site contains mail setting information for many popular mail servers.

Mail Settings

'Example to send email using gmail.
'For other services, see their documentation

'requires sendemail.exe and sendemail.pl

from$ = "your_gmail_address@gmail.com"
mailuser$ ="your_gmail_address@gmail.com"
recipient$ ="email_of_recipient@hismail.com"
server$ = "smtp.gmail.com:587"
mailpwd$ = "your_mail_password"
subject$ = "Desired Subject Line"
message$ = "Your message."
attach$ = "c:\folder\subfolder\filename.ext"

cmd$ = " -f ";from$;" -t ";recipient$;" -s ";server$;" -xu ";mailuser$;" -xp ";mailpwd$;" -u ";subject$;" -m ";message$;" -a ";attach$

run "sendemail.exe ";cmd$, HIDE
end


Home

Source Code

Utilities

Internet

Games

Graphics

Media Demos

Snippets

DLL's

API Resources

Freeware

LB 4 Companion

Mastering LB 3

LB Workshop

Game Workshop

Links

Index