Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cdo2000
Message
From
19/07/2011 20:56:29
 
 
To
19/07/2011 16:43:46
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01518516
Message ID:
01518576
Views:
52
What I mentioned about using the "ping" and "telnet" commands is merely to check to see if the SMTP server is reachable. It won't give you anything about what username nor password to use -- in general you won't be able to query the server about that (obviously -- since if you could get that information directly from the server, then it's like leaving the key to the front door of a residence under the welcome mat). Use Al's suggestion of checking the E-mail client software, making sure that it is able to send E-mail. If the E-mail client is able to send E-mail then it's a matter of copying the server name, username and password over to your software. In general, process of sending E-mail is something along the lines of:
1. Establish connection to mail server
2. "sign on" to the server
3. Transmit message information (e.g. the info for "To:", "Subject:", the body, as well as any additional info like "reply-to" etc)
4. disconnect from mail server


>Thanks for your help.
>From the dos shell,is there a way i can ping the machine to find out what the smtp server name, userid, and password are?
>I don't know the syntax to get what I'm looking for.
>
>
>>Perhaps they reconfigured something on the E-mail server? One common anti-spam strategy is to close TCP port 25. You could do the following:
>>* Use ping and see if you're able to establish contact with server (though sometimes ping will fail due to how they've got firewalls configured). If you get a response, you know there is something there listening (as a mentioned earlier, failure doesn't mean that there isn't anything listening).
>>* Use telnet to see if you can establish a connection -- use TCP port 25. If it succeeds you should see a "banner" with which the E-mail server will identify itself. If you get "connection refused" then they've likely closed that port and you'll have to find out what alternate port they've configured.
>>
>>>I am using Sergey's CDO 2000 email class.
>>>
>>>It's been working great.
>>>
>>>Friday, one of the user's had trouble sending out a proposal.
>>>I tested it on my machine and had the same problem.
>>>
>>>From within my Vfp application, I create a pdf package and email it.
>>>The email failed with the following error:
>>>
>>>1 ERROR: :1429 # send # 146
>>>The message could not be sent to the smtp server.
>>>The server response was not available.
>>>
>>>Do you know what the problem is?
>>>
>>>From what I've been told, the smtp server name, userid and password have not changed.
>>>Do I need to verify this?
>>>If so, how?
>>>
>>>Any help would be greatly appreciated.
>>>
>>>I'm using cdo2000.prg from 12/14/2009.
>>>
>>>Thanks,
>>>Deb
Previous
Reply
Map
View

Click here to load this message in the networking platform