Re: Difference between wodSmtp1.SendMessage and w (General questions)
Hi,
In Blocking mode, you need to handle possible exceptions using the On Error statement, since the component won't handle them automatically in that case. That's probably why the events aren't reached.
Also, the following code works just fine on gmail:
[code]smtp.HostName = smtp.gmail.com
smtp.Security = SecurityImplicit
smtp.Login = username
smtp.Password = password
smtp.Authentication = AuthLogin
smtp.Blocking = True
smtp.Connectsmtp.Message.From = e-mail
smtp.Message.To = e-mailsmtp.Message.Subject = test
smtp.Message.Text = testingsmtp.SendMessage[/code]
Can you try the same code?
Regards,
Damba
I receive a connection timed out error.
Complete thread:
- Difference between wodSmtp1.SendMessage and wodSm - Nightwalker, 2010-08-04, 12:06
- Re: Difference between wodSmtp1.SendMessage and w - wodDamir, 2010-08-04, 12:09
- Re: Difference between wodSmtp1.SendMessage and w - Nightwalker, 2010-08-04, 14:03
- Re: Difference between wodSmtp1.SendMessage and w - wodDamir, 2010-08-04, 14:14
- Re: Difference between wodSmtp1.SendMessage and w - nightwalker83, 2010-08-05, 09:40
- Re: Difference between wodSmtp1.SendMessage and w - woddrazen, 2010-08-05, 10:35
- Re: Difference between wodSmtp1.SendMessage and w - nightwalker83, 2010-08-05, 10:51
- Re: Difference between wodSmtp1.SendMessage and w - woddrazen, 2010-08-05, 10:58
- Re: Difference between wodSmtp1.SendMessage and w - nightwalker83, 2010-08-05, 12:25
- Re: Difference between wodSmtp1.SendMessage and w - woddrazen, 2010-08-05, 12:46
- Re: Difference between wodSmtp1.SendMessage and w - nightwalker83, 2010-08-06, 02:34
- Re: Difference between wodSmtp1.SendMessage and w - wodDamir, 2010-08-06, 09:22
- Re: Difference between wodSmtp1.SendMessage and w - nightwalker83, 2010-08-06, 09:40
- Re: Difference between wodSmtp1.SendMessage and w - wodDamir, 2010-08-06, 09:48
- Re: Difference between wodSmtp1.SendMessage and w - nightwalker83, 2010-08-06, 09:59
- Re: Difference between wodSmtp1.SendMessage and w - wodDamir, 2010-08-06, 10:02
- Re: Difference between wodSmtp1.SendMessage and w - nightwalker83, 2010-08-06, 10:11
- Re: Difference between wodSmtp1.SendMessage and w - wodDamir, 2010-08-06, 10:15
- Re: Difference between wodSmtp1.SendMessage and w - nightwalker83, 2010-08-06, 10:25
- Re: Difference between wodSmtp1.SendMessage and w - wodDamir, 2010-08-06, 12:51
- Re: Difference between wodSmtp1.SendMessage and w - nightwalker83, 2010-08-06, 13:43
- Re: Difference between wodSmtp1.SendMessage and w - wodDamir, 2010-08-06, 16:24
- Re: Difference between wodSmtp1.SendMessage and w - nightwalker83, 2010-08-07, 04:53
- Re: Difference between wodSmtp1.SendMessage and w - wodDamir, 2010-08-07, 11:15
- Re: Difference between wodSmtp1.SendMessage and w - nightwalker83, 2010-08-07, 12:41
- Re: Difference between wodSmtp1.SendMessage and w - wodDamir, 2010-08-07, 13:07
- Re: Difference between wodSmtp1.SendMessage and w - nightwalker83, 2010-08-08, 04:34
- Re: Difference between wodSmtp1.SendMessage and w - wodDamir, 2010-08-07, 13:07
- Re: Difference between wodSmtp1.SendMessage and w - nightwalker83, 2010-08-07, 12:41
- Re: Difference between wodSmtp1.SendMessage and w - wodDamir, 2010-08-07, 11:15
- Re: Difference between wodSmtp1.SendMessage and w - nightwalker83, 2010-08-07, 04:53
- Re: Difference between wodSmtp1.SendMessage and w - wodDamir, 2010-08-06, 16:24
- Re: Difference between wodSmtp1.SendMessage and w - nightwalker83, 2010-08-06, 13:43
- Re: Difference between wodSmtp1.SendMessage and w - wodDamir, 2010-08-06, 12:51
- Re: Difference between wodSmtp1.SendMessage and w - nightwalker83, 2010-08-06, 10:25
- Re: Difference between wodSmtp1.SendMessage and w - wodDamir, 2010-08-06, 10:15
- Re: Difference between wodSmtp1.SendMessage and w - nightwalker83, 2010-08-06, 10:11
- Re: Difference between wodSmtp1.SendMessage and w - wodDamir, 2010-08-06, 10:02
- Re: Difference between wodSmtp1.SendMessage and w - nightwalker83, 2010-08-06, 09:59
- Re: Difference between wodSmtp1.SendMessage and w - wodDamir, 2010-08-06, 09:48
- Re: Difference between wodSmtp1.SendMessage and w - nightwalker83, 2010-08-06, 09:40
- Re: Difference between wodSmtp1.SendMessage and w - wodDamir, 2010-08-06, 09:22
- Re: Difference between wodSmtp1.SendMessage and w - nightwalker83, 2010-08-06, 02:34
- Re: Difference between wodSmtp1.SendMessage and w - woddrazen, 2010-08-05, 12:46
- Re: Difference between wodSmtp1.SendMessage and w - nightwalker83, 2010-08-05, 12:25
- Re: Difference between wodSmtp1.SendMessage and w - woddrazen, 2010-08-05, 10:58
- Re: Difference between wodSmtp1.SendMessage and w - nightwalker83, 2010-08-05, 10:51
- Re: Difference between wodSmtp1.SendMessage and w - woddrazen, 2010-08-05, 10:35
- Re: Difference between wodSmtp1.SendMessage and w - nightwalker83, 2010-08-05, 09:40
- Re: Difference between wodSmtp1.SendMessage and w - wodDamir, 2010-08-04, 14:14
- Re: Difference between wodSmtp1.SendMessage and w - Nightwalker, 2010-08-04, 14:03
- Re: Difference between wodSmtp1.SendMessage and w - wodDamir, 2010-08-04, 12:09