Search found 30 matches: ooutmail

Return to advanced search

Re: smtpserver

... not establish connection to server de bell WSA ERROR CODE : 10060 can you held me donne la meme erreur (same error) function SendMail() local oOutMail, cIP, oOutMail1 oDlg:SetMsg( "Sending Internet email..." ) WSAStartup() * oOutMail1 := TSmtp():New( cIP := GetHostByName( "mail.lpsi.qc.ca" ...
by richard wilson
Wed Oct 05, 2016 6:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: smtpserver
Replies: 5
Views: 1364

Re: smtpserver

... party did not properly respond after a period of time, or the established connection failed because the connected host has failed to respond. oOutMail := TSmtp():New( cIP := GetHostByName( "mail.lpsi.qc.ca" ) ) Have you provided the Port number, username password required to connect ...
by anserkk
Thu Sep 29, 2016 4:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: smtpserver
Replies: 5
Views: 1364

smtpserver

... : ST_INIT IP ADDRESS : could not establish connection to server1.activedata.ca WSA ERROR CODE : 10060 can you held me function SendMail() local oOutMail, cIP, oOutMail1 oDlg:SetMsg( "Sending Internet email..." ) WSAStartup() * oOutMail1 := TSmtp():New( cIP := GetHostByName( "mail.lpsi.qc.ca" ...
by richard wilson
Wed Sep 28, 2016 3:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: smtpserver
Replies: 5
Views: 1364

TestSmtp.prg

... ejemplo que viene con Feivewin. Dado que mi intención es enviar varios mails uno detrás de otro, he necesitado modificarlo de la siguiente manera: oOutMail:bDone = { || oWnd:SetMsg( "Message sent successfully" ) } por: oOutMail:bDone = { || (oWnd:SetMsg( "Message sent successfully" ...
by FiveWiDi
Sun Dec 15, 2013 6:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TestSmtp.prg
Replies: 0
Views: 290

Re: SMTP Fails FWH 9.12 / xHarbour Nov 09

Antonio, you use in the example:
oOutMail:bConnected = { || oWnd:SetMsg( "Connected" ) }

and i use:
oOutMail:bConnected = { || (cV := "Connected", oSay:refresh()) }
where cV is the variable from the say-object
by byte-one
Tue Mar 02, 2010 6:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SMTP Fails FWH 9.12 / xHarbour Nov 09
Replies: 14
Views: 4140

fixed .. here is the solution

... to initialize TsSmtp():New ... twice 2) notice that there are two diffetent objects that initialize Tsmtp():New oInit is the first instance and oOutMail is the second. I also remarked out WSastartup() and the true fix to this problem was ending both instances of the Tsntp object .. oWndMdi:SetMsg( ...
by Rick Lipkin
Tue Dec 09, 2008 3:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tsmtp ( again )
Replies: 3
Views: 1411

... .. should WSAStartup() only be initialized once in a session ?? Rick oWndMdi:SetMsg( "Sending Project ADD noticication to "+cTO ) WSAStartup() oOutMail := TSmtp():New( cIP := GetHostByName( cHOST ) ) oOutMail:bConnecting := { || oWndMdi:SetMsg( "Connecting to "+cHOST ) } oOutMail:bConnected ...
by Rick Lipkin
Mon Dec 08, 2008 7:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tsmtp ( again )
Replies: 3
Views: 1411

Tsmtp ( again )

... the socket .. Really at a loss here if anyone can help. Here is my code oWndMdi:SetMsg( "Sending Project ADD noticication to "+cTO ) WSAStartup() oOutMail := TSmtp():New( cIP := GetHostByName( cHOST ) ) oOutMail:bConnecting := { || oWndMdi:SetMsg( "Connecting to "+cHOST ) } oOutMail:bConnected ...
by Rick Lipkin
Mon Dec 08, 2008 6:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tsmtp ( again )
Replies: 3
Views: 1411

Problem with tsmtp-class

... when authentification is required, no e-Mail will be send. Following code am I using (modified testsmtp.prg): function SendMail() local oOutMail, cIP local cHost := "smtp.strato.de" local cEmail := "test@ctosoftware.de" local cUser := "test" ...
by gkuhnert
Thu Oct 09, 2008 7:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with tsmtp-class
Replies: 6
Views: 1655

Rick, took your suggestion and I must have some syntactical error where 7 is ST_QUIT Your suggestion : oOutMail:bFailure := { || LogFile( "mail.log", {oOutMail:aTo:[1] + " Failed"}), oOutMail:nStatus := ST_QUIT } Trying to get it to work .. unfortunitly the LogFile fires everytime ...
by James Bott
Mon Oct 06, 2008 1:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Trapping SMTP e-mail error
Replies: 43
Views: 7622

... I may have to do what you suggest ... James .. I took your suggestion and I must have some syntactical error where 7 is ST_QUIT Your suggestion : oOutMail:bFailure := { || LogFile( "mail.log", {oOutMail:aTo:[1] + " Failed"}), oOutMail:nStatus := ST_QUIT } Trying to get it to work .. unfortunitly ...
by Rick Lipkin
Sun Oct 05, 2008 11:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Trapping SMTP e-mail error
Replies: 43
Views: 7622

Rick Lipkin wrote:I failed to declare oOutMail as a variable .. ( can't believe I did that )


Use /w compile switch and you will never forget it again.

EMG
by Enrico Maria Giordano
Sat Oct 04, 2008 10:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Trapping SMTP e-mail error
Replies: 43
Views: 7622

Rick,

Try something like this:

oOutMail:bFailure := { || LogFile( "mail.log", {oOutMail:aTo:[1] + " Failed"}), oOutMail:nStatus := ST_QUIT }

Regards,
James
by James Bott
Sat Oct 04, 2008 7:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Trapping SMTP e-mail error
Replies: 43
Views: 7622

Antonio You were correct .. I failed to declare oOutMail as a variable .. ( can't believe I did that ) .. there is no error any longer and the e-mail truly failed to send .. but is there a way I can trap that error to write a log to the file that ...
by Rick Lipkin
Sat Oct 04, 2008 12:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Trapping SMTP e-mail error
Replies: 43
Views: 7622

Rick,

Have you defined oOutMail as a private variable ?

If yes, please change it to local, static or public. I would recommend local.
by Antonio Linares
Fri Oct 03, 2008 7:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Trapping SMTP e-mail error
Replies: 43
Views: 7622
Next

Return to advanced search