Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Email Olecontrol
Message
De
25/02/2005 14:36:27
 
 
À
25/02/2005 14:25:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
00990322
Message ID:
00990667
Vues:
22
Your welcome.

>Thank you so much.
>You've been a great help.
>
>
>
>>If it is not a .Com, or something, then it could be a server on the internal network. In which case, the "w12120" would be the name of the computer, not a domain name. As for pinging, I can ping the IP.
>>
>>When I type the IP address into my browse it goes to a site call SecureWeb.net (https://www23.securedweb.net/). It does not provide any information about the company behind the address, but may be the mail sending portion of the site. My guess is that they are a Secure Order Form hosting company of some kind. The closest I have gotten some anwsers as to who they are is at http://faq.web2010.com/ssl.htm.
>>
>>I will keep poking around.
>>
>>>Hi Greg
>>>When I send the email using the Olecontrol, it is sending the email to a server called "w12120", at IP 66.40.170.85. before it actually get to the intended address.
>>>
>>>You would by chance know where this is would you?
>>>I can't seem to ping the IP.
>>>
>>>Thanks
>>>
>>>
>>>>>>Actually, if you notice, the cURL line has a property called cAspPage. This would suggest that a ASP page is being called to process the send mail request. The ASP page must have a object to preform something like CDONTS control. The problem maybe that at times of the day, the mail server at the host end is getting hit with alot of mail, filling up the mail queue. This would slow down the delivary of the Dean's clients mail at times.
>>>>>
>>>>>I think you're maybe onto something but I've no idea how it works with ASP pages.
>>>>
>>>>
>>>>Ok, let take Deans code and fill in the blanks (variables).
>>>>
>>>>This...
>>>>
>>>>cURL = ALLTRIM(THIS.caddress) + "/" + ALLTRIM(THIS.casppage) + "?ID=" + ALLTRIM(THIS.cID) + ;
>>>>"&To=" + ALLTRIM(THIS.cto) + ;
>>>>"&From=" + ALLTRIM(THIS.cFrom) + ;
>>>>"&Subject=" + ALLTRIM(THIS.cSubject) + ;
>>>>"&Body=" + ALLTRIM(THIS.cBody)
>>>>this.olecontrol1.openURL(cURL)
>>>>
>>>>
>>>>would be become this in the cURL variable:
>>>>
>>>>cURL = "http://www.MailDomain.com/MailThis.asp?ID=ABC123" + ;
>>>>"&To=Reciever@there.com" + ;
>>>>"&From=Sender@Here.com" + ;
>>>>"&Subject=What the mail is about"  + ;
>>>>"&Body=Blah, Blah, Blah"
>>>>
>>>>this.olecontrol1.openURL(cURL)
>>>>
>>>>
>>>>In the MailThis.ASP page is a little VBscript code.
>>>>
>>>>
>>>>if ValidateClient( request.QueryString("ID") )
>>>>	dim objCDO
>>>>	Set objCDO = Server.CreateObject("CDONTS.NewMail")
>>>>
>>>>	objCDO.From =	request.QueryString("From")
>>>>	objCDO.To =	request.QueryString("To")
>>>>	objCDO.Subject = request.QueryString("Subject")
>>>>
>>>>	objCDO.BodyFormat = 1	' 0 = HTML, 1 = Plain
>>>>	objCDO.MailFormat = 1	' 0 = MIME, 1 = Text
>>>>	objCDO.importance = 0	' 0 = High, 1 = Medium, 2 = Low
>>>>
>>>>	cBody = replace(request.QueryString("Body"), "/r",  chr(13)+chr(10))
>>>>	objCDO.Body = cBody
>>>>
>>>>	objCDO.Send
>>>>
>>>>	Set objCDO = Nothing
>>>>end if
>>>>
>>>>
>>>>Of course, there are many ActiveX controls that can be used in a simular fashion to send mail from a ASP page. But this is general idea.
>>>>
>>>>*******
>>>>
>>>>My suggestion to Dean is to look at changing the method of sending the mail from a third party service to something more local to the client, like using Exchange or somtihing.
Greg Reichert
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform