Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send email from win10
Message
From
16/02/2017 19:04:45
 
 
To
16/02/2017 16:52:05
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Miscellaneous
Thread ID:
01648052
Message ID:
01648057
Views:
42
>>Hi Gang,
>>
>>I was given a job that involved the application email a simple message (single test line, in this case), But the SendMail routine is throwing an error. The email object they are using is CDO2000 (I believe)
>>
>>
>>ERROR: :1429 # send # 187 # 0x00000211  
>>The message could not be sent to the SMTP server. 
>>The transport error code was 0x80040217. 
>>The server response was not available
>>
>>
>>I have been google'ing around, but have not been able to isolate the issue. The client tells me they have not had the problem. This is tell me the problem is on my machine running Windows 10.
>>
>>Any suggestion would be great.
>
>If there's anything unusual about your environment for SMTP, you'll need to set the parameters appropriately in the SMTP component e.g.
>
>- Standard/default port is port 25. Maybe you use 587 or 1025? Your SendMail probably won't try those ports unless you specify it in advance
>
>- If your SMTP server requires authentication, you need to set up a user name and password
>
>From the error message, you're not even getting to the point where you could try a user name/password so it's likely either a port or firewall issue. Assuming your own personal outgoing SMTP mail is working properly (so no firewall issue) an incorrect port setting would be my first guess.

Good point.

We discovered that the problem resided at GMail. The account was set to refuse the attempts to send automated email from sources like we where doing. Because I was using my personal account for the testing, the setting to allow it was off.

For the community record here is the link (you must be login to your GMail to change the setting.)

https://support.google.com/accounts/answer/6010255?hl=en

Thank to all.
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform