Nx GT-R BOY wrote:
> Hi, As part of my development in Gambas2 I am making a feature in my
> software that remains people a to-do list daily via email.
>
> So far I am working with sendmail, but If you know a better alternative
> would be appreciated.
>
>
I use "sendEmail"
is simple and fast, it works in shell and it can send directly to server.
Example:
From a window:
Fmail.call_me(ME.Name)
Fmail:
PUBLIC from_software AS String
PUBLIC SUB call_me(mecall AS String)
from_software = Application.Name & "-" & mecall
ME.Show
END
mailfrom = "-f " & who & "@mydomain.com"
obj = "-u 'Software bug report' "
mailserver = " -s mailserverIP "
mailto = " -t [EMAIL PROTECTED]"
msg = "-m 'Report sent from: " & who & " - day " & mydate & "\n
Software: " & from_software & " \n" & bug & "' "
mycommand = "sendEmail " & mailfrom & mailto & obj & msg & mailserver
SHELL mycommand
Message.Info("Report sent")
Christian
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Vasco รจ tornato! Sul tuo cellulare Il mondo che vorrei
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7749&d=17-7
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user