Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with new wwipstuff version 4.1
Message
 
À
13/03/2002 12:46:18
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Divers
Thread ID:
00632178
Message ID:
00632270
Vues:
17
>>>>Yes EXACTLY the same program with the same smtp server hardcoded in it. It is exactly the same program just running in separate directories with different wwipstuff versions. I am not sure about the restriction on the smtp. All I know is that it works with the old wwipstuff.dll + with outlook express with the same smpt server indicated.
>>>
>>>Both were running on the same server?
>>Both are on the same machine (NT 2000 professional) that is connected to internet via cable-modem.
>
>Might it be that a property name has changed in the new version of wwipstuff that would make it not work? As you mentioned, you are using the same code launched from the same server. So, it's not a question of the SMTP having some restrictions. The problem is local. For curiosity, what is the code to accomplish this?

LOCAL lcSujet AS Character
LOCAL lcMessage AS Character

WAIT "Sending a test to eric@vivasoft.qc.ca" WINDOW NOWAIT

* In project startup program
* SET CLASSLIB TO wwIPStuff ADDITIVE
* oMail=CREATE("wwIPStuff")

lcSujet = "MY SUBJECT"
lcMessage = "message1" + CHR(13)+CHR(10)+;
"message2" + CHR(13) + CHR(10)+;
"message3"

*------------------------------------------------------------------------*
* Envoi du message *
*------------------------------------------------------------------------*
omail.cMailServer="smtp.bellnet.ca"
omail.cSenderEmail="accescredit@qc.aira.com"
omail.cSenderName="Acces Credit"
omail.cRecipient="eric@vivasoft.qc.ca"
omail.cSubject=lcSujet
omail.cMessage=lcMessage
llResult = omail.SendMail() && Send again - wait for completion
IF !llResult
Wait window omail.cErrorMsg
ELSE
WAIT "Message sent to eric@vivasoft.qc.ca" WINDOW NOWAIT
ENDIF
Eric Crespin
Consultant
PC PLUS Software Inc.
www.pcplus.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform