[Gambas-user] gambas and email
mike webb
mwebb at ...1362...
Wed Feb 22 16:01:35 CET 2006
Bertand-Xavier M. wrote:
>On Wednesday 22 February 2006 14:45, mike webb wrote:
>
>
>>i'm going to write a program which will will need to be able to send
>>out emails.
>>the message of the emails will be retrieved from a mysql database. what
>>would be the best way to send the emails.
>>call a shell and try sendmail ??
>>
>>
>>
>Hi,
>Best way is to create a socket and discuss with the server using the SMTP
>protocol.
>
>yeah, that looks good. just telneted into the smtp server and was able to send a email to myself by hand something like
>
>
telnet 192.168.3.4 25
answers with domain ESMTP postfix
type: ehlo mike.com
receive resonse:
type: mail from: mwebb at ...1373...
type: rcpt to: mwebb at ...1374...
type:data
then enter message followed by cr/lf "." cr/lf
message was sent.
all i have to do is setup a socket ? and use that instead of telnet?
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems? Stop! Download the new AJAX search engine that makes
>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>_______________________________________________
>Gambas-user mailing list
>Gambas-user at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
More information about the User
mailing list