West Wind Internet and Client Tools
How to Test an Email Tool !
Gravatar is a globally recognized avatar based on your email address. How to Test an Email Tool !
  Oscar A Contreras
  All
  Jul 23, 2018 @ 08:47am

Hi, Please let me know why an email is not working ? Could You check it for me please how can I send to You the info of my email account in order to be sure it works before I register the Tool for sending Emails ! Thanks, Ate. Oscar

Gravatar is a globally recognized avatar based on your email address. re: How to Test an Email Tool !
  Oscar A Contreras
  Tore Bleken
  Jul 23, 2018 @ 09:40am

Hi Mr. Tore, Thnaks for your quick response ¡

My Client email config in my system is

Smtp: mail04.l4email.com:465 User: info@rlinternationaltrading.com Password: info@2018

The Hosting company gave me this info to setup the email account!

SMTP INFORMATION: Secure SSL/TLS Settings (Recommended) Username: youremail@userdomain.com Password: email password. Incoming Server: mailXX.l4email.com (where XX is the number of your email server) IMAP Port: 993 POP3 Port: 995 Outgoing Server: mailXX.l4email.com (where XX is the number of your email server) SMTP Port: 465 Authentication is required for IMAP, POP3, and SMTP.

If I use my email account of info@logixcargo.com Works perfect but not to this account email account from another Hosting Place ¡ Could You please helo me with this please ¿ Thanks Mr. Tore Bleken

Gravatar is a globally recognized avatar based on your email address. re: How to Test an Email Tool !
  Tore Bleken
  Oscar A Contreras
  Jul 23, 2018 @ 09:47am

Fill in these properties in the code sample in the the link I provided. If it doesn't work, copy your code and show it here. Also tell us what error you get.

Gravatar is a globally recognized avatar based on your email address. re: How to Test an Email Tool !
  Oscar A Contreras
  Tore Bleken
  Jul 23, 2018 @ 10:59am

** I am calling wwClient in the main program as DO ..\wwclient\wwclient.app ** I am using the same code with info@logixcargo.com with

loSmtp.cMailServer ="smtpout.secureserver.net

works perfect !

local loSMTP as wwSmtp
loSmtp=CREATEOBJECT("wwSmtp")
loSmtp.nMailMode = 2  && wwIPStuff mode (Win32 - default)   0 - .NET wwSmtp

loSmtp.cMailServer=mail04.l4email.com:465
loSmtp.cSenderEmail=info@rlinternationaltrading.com

loSmtp.cSenderName="Mr. Oscar"

*** Optional Username
loSmtp.cUsername = info@rlinternationaltrading.com
loSmtp.cpassword = info@2018
*** Optional SSL Messages (only in .NET mode (nMailMode = 0))
* loSmtp.lUseSsl = .T. ( I did Tried this too )

loSmtp.cRecipient="expresys@hotmail.com,oscar.alberto.contreras@gmail.com"
*loSmtp.cCCList="rstrahl@east-wind.com,looser@nobody.com"
loSmtp.cBCCList="info@logixcargo.com"
loSmtp.cSubject="wwSmtp Test Message"

*** Optionally specify content type - text/plain is default
loSmtp.cContentType = "text/html"  
loSmtp.cMessage="Who said this had to be <b>difficult</b>?"

*** Optionally provide an alternate content type or plain text fallback
loSmtp.cAlternateContentType = "text/plain"
loSmtp.cAlternateText = "Plain text can go here."

*** Optionally send file attachments
*loSmtp.AddAttachment("c:\temp\somefile.pdf")
*oSmtp.AddAttachment("c:\temp\sailbig.jpg")
*llResult = o.SendMail() && Send - wait for completion

loSmtp.cLogFile = FULLPATH("SmtpLog.txt")
llResult = loSmtp.SendMail()
*(vfps://Topic/wwSmtp%3A%3Asendmail)()  

*loSmtp.SendMailAsync()    

IF !llResult
  Wait window loSmtp.cErrorMsg
ENDIF

*set procedure to wwHttp in wconnect.app
*loHttp = CREATEOBJECT("wwHttp")
*lcHtml = loHttp.HttpGet("https://microsoft.com")

*++++++++++++++++++++++++++++++++++

** End of Email 
Gravatar is a globally recognized avatar based on your email address. re: How to Test an Email Tool !
  Tore Bleken
  Oscar A Contreras
  Jul 23, 2018 @ 11:40am

First of all, your code is practically unreadable since you don't use the formatting tools available when you edit your messages. Secondly, you have created two threads here, do you ask the same question twice? And last, have you read the description Rick guided you to? You need to study that material thoroughly.

Gravatar is a globally recognized avatar based on your email address. re: How to Test an Email Tool !
  Tore Bleken
  Oscar A Contreras
  Jul 23, 2018 @ 11:40am

First of all, your code is practically unreadable since you don't use the formatting tools available when you edit your messages. Secondly, you have created two threads here, do you ask the same question twice? And last, have you read the description Rick guided you to? You need to study that material thoroughly.

Gravatar is a globally recognized avatar based on your email address. re: How to Test an Email Tool !
  Oscar A Contreras
  Tore Bleken
  Jul 23, 2018 @ 01:29pm
*** I am calling wwClient in the main program as 
*** DO ..\wwclient\wwclient.app 
*** I am using the same code with info@logixcargo.com with
*** loSmtp.cMailServer ="smtpout.secureserver.net
*** works perfect !

** Routine 

local loSMTP as wwSmtp
loSmtp=CREATEOBJECT("wwSmtp")
loSmtp.nMailMode = 2  && wwIPStuff mode (Win32 - default)   0 - .NET wwSmtp

loSmtp.cMailServer="mail04.l4email.com:465"
loSmtp.cSenderEmail="info@rlinternationaltrading.com"

loSmtp.cSenderName="Mr. Oscar"

*** Optional Username
loSmtp.cUsername = "info@rlinternationaltrading.com"
loSmtp.cpassword = "info@2018"
*** Optional SSL Messages (only in .NET mode (nMailMode = 0))
* loSmtp.lUseSsl = .T. ( I did Tried this too )

loSmtp.cRecipient="expresys@hotmail.com,oscar.alberto.contreras@gmail.com"
*loSmtp.cCCList="rstrahl@east-wind.com,looser@nobody.com"
loSmtp.cBCCList="info@logixcargo.com"
loSmtp.cSubject="wwSmtp Test Message"

*** Optionally specify content type - text/plain is default
loSmtp.cContentType = "text/html"  
loSmtp.cMessage="Who said this had to be <b>difficult</b>?"

*** Optionally provide an alternate content type or plain text fallback
loSmtp.cAlternateContentType = "text/plain"
loSmtp.cAlternateText = "Plain text can go here."

*** Optionally send file attachments
*loSmtp.AddAttachment("c:\temp\somefile.pdf")
*oSmtp.AddAttachment("c:\temp\sailbig.jpg")
*llResult = o.SendMail() && Send - wait for completion

loSmtp.cLogFile = FULLPATH("SmtpLog.txt")
llResult = loSmtp.SendMail()
*(vfps://Topic/wwSmtp%3A%3Asendmail)()  

*loSmtp.SendMailAsync()    

IF !llResult
  Wait window loSmtp.cErrorMsg
ENDIF

*set procedure to wwHttp in wconnect.app
*loHttp = CREATEOBJECT("wwHttp")
*lcHtml = loHttp.HttpGet("https://microsoft.com")

*++++++++++++++++++++++++++++++++++

** End of Email 
Gravatar is a globally recognized avatar based on your email address. re: How to Test an Email Tool !
  Oscar A Contreras
  Tore Bleken
  Jul 23, 2018 @ 01:35pm
  1. I just sent the code again ! I am sorry I did noticed that before! Secondly, you have created two threads here, do you ask the same question twice? And last, have you read the description Rick guided you to? You need to study that material thoroughly.
  2. The other tread is a different Question That is an alternavite in case the first one does not has solution ( Gmail works ?)!
  3. Please let me know where I can find the Description of Mr. Rick.

thanks Mr. Tore

Gravatar is a globally recognized avatar based on your email address. re: How to Test an Email Tool !
  Oscar A Contreras
  Tore Bleken
  Jul 24, 2018 @ 02:00pm

Depending of the configuration it shows an Error ! but the most common is " The operation has timed out " with loSmtp.nMailMode = 0 or 2 and loSmtp.lUseSsl = .F. or .T. ! Thanks Ate. Oscar

© 1996-2024