Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sun Dec 17, 2017 7:09 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: SMTPSecureSocket question
PostPosted: Fri Jan 04, 2013 1:02 pm 
Offline

Joined: Fri Sep 30, 2005 7:39 pm
Posts: 106
Location: Oklahoma
I am using an SMTPSecureSocket to send a que of email messages. I understand that the .MailSent event is supposed to fire when the que is empty and all the messages have been sent, but I have no clue what to put in the .MailSent event to get an information message to appear in a static text control on my app's window saying "I'm done sending" or something similar. The LR is pretty bleak on this. It only tells me what it does, but not how to take advantage of it. (Using RB 2010.2.1 on Win XP)

I've tried putting the following in the SMTPSecureSocket.MailSent event with no response, even though all of the emails are sent and received properly:

wEmail.stInstructions.TextColor = RGB(255,0,0)
wEmail.stInstructions.text= str(messagesSent)+" Reminders Successfully emailed; "+str(failedToSend)+" Messages failed."


Top
 Profile  
Reply with quote  
 Post subject: Re: SMTPSecureSocket question
PostPosted: Sat Jan 05, 2013 9:21 am 
Offline

Joined: Fri Sep 30, 2005 7:39 pm
Posts: 106
Location: Oklahoma
Ignore. Problem solved. Working now with same code. Not sure why.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group