Tested on My Own machine--works dine
Deployed to Client Server and get message:
Unknown Member OBRIDGE
WWSMTP.CREATEWWSMTP
Any ideas of whats going wrong ?
Please check the docs for the wwSmtp class. You need to deploy wwDotnetBridge if you plan on using the .NET wwSmtp component (nMailMode = 0). Classic mode (nMailMode=2) doesn't have this requirement.
+++ Rick ---
Have gone up to ver5.5 on Client Tools (Using wwSMTP)
Tested on My Own machine--works dine
Deployed to Client Server and get message:
Unknown Member OBRIDGE
WWSMTP.CREATEWWSMTP
Any ideas of whats going wrong ?
West Wind Technologies
Making waves on the Web
I have also copied the wwDotNetBridge.dll into the .exe folder
What else should I be doing (Note that when I run it on my machine it works fine)
Please check the docs for the wwSmtp class. You need to deploy wwDotnetBridge if you plan on using the .NET wwSmtp component (nMailMode = 0). Classic mode (nMailMode=2) doesn't have this requirement.
+++ Rick ---
Have gone up to ver5.5 on Client Tools (Using wwSMTP)
Tested on My Own machine--works dine
Deployed to Client Server and get message:
Unknown Member OBRIDGE
WWSMTP.CREATEWWSMTP
Any ideas of whats going wrong ?
Not sure. I need to know the point of failure. if wwdotnetbridge is not loading there should be an error firing prior to that... when it actually loads not when you're trying to access it.
Most likely problem: Either .NET is not installed or you need to unlock the DLL:
To test for the error:
DO wwDotnetBridge
loBridge = CREATEOBJECT("wwDotnetBridge")
? loBridge.GetDotnetVersion()
+++ Rick ---
Have gone up to ver5.5 on Client Tools (Using wwSMTP)
Tested on My Own machine--works dine
Deployed to Client Server and get message:
Unknown Member OBRIDGE
WWSMTP.CREATEWWSMTP
Any ideas of whats going wrong ?
West Wind Technologies
Making waves on the Web
.net version 2.0.50727.5466 file E:\Kernel\DublinTest\wwDotNetbridge.dll
Regards,
Ger
Not sure. I need to know the point of failure. if wwdotnetbridge is not loading there should be an error firing prior to that... when it actually loads not when you're trying to access it.
Most likely problem: Either .NET is not installed or you need to unlock the DLL:
To test for the error:
DO wwDotnetBridge
loBridge = CREATEOBJECT("wwDotnetBridge")
? loBridge.GetDotnetVersion()
+++ Rick ---
Have gone up to ver5.5 on Client Tools (Using wwSMTP)
Tested on My Own machine--works dine
Deployed to Client Server and get message:
Unknown Member OBRIDGE
WWSMTP.CREATEWWSMTP
Any ideas of whats going wrong ?
Please post your code and exactly what's failing when running wwSmtp.
+++ Rick ---
Hi Rick
.net version 2.0.50727.5466 file E:\Kernel\DublinTest\wwDotNetbridge.dll
Regards,
Ger
Not sure. I need to know the point of failure. if wwdotnetbridge is not loading there should be an error firing prior to that... when it actually loads not when you're trying to access it.
Most likely problem: Either .NET is not installed or you need to unlock the DLL:
To test for the error:
DO wwDotnetBridge
loBridge = CREATEOBJECT("wwDotnetBridge")
? loBridge.GetDotnetVersion()
+++ Rick ---
Have gone up to ver5.5 on Client Tools (Using wwSMTP)
Tested on My Own machine--works dine
Deployed to Client Server and get message:
Unknown Member OBRIDGE
WWSMTP.CREATEWWSMTP
Any ideas of whats going wrong ?
West Wind Technologies
Making waves on the Web
Well it looks like wwDotnetBridge is working fine...
Please post your code and exactly what's failing when running wwSmtp.
+++ Rick ---
Hi Rick
.net version 2.0.50727.5466 file E:\Kernel\DublinTest\wwDotNetbridge.dll
Regards,
Ger
Not sure. I need to know the point of failure. if wwdotnetbridge is not loading there should be an error firing prior to that... when it actually loads not when you're trying to access it.
Most likely problem: Either .NET is not installed or you need to unlock the DLL:
To test for the error:
DO wwDotnetBridge
loBridge = CREATEOBJECT("wwDotnetBridge")
? loBridge.GetDotnetVersion()
+++ Rick ---
Have gone up to ver5.5 on Client Tools (Using wwSMTP)
Tested on My Own machine--works dine
Deployed to Client Server and get message:
Unknown Member OBRIDGE
WWSMTP.CREATEWWSMTP
Any ideas of whats going wrong ?
Just getting back to this now...it was never resolved ..getting same error on another client
UNKNOWN Member oBridge
I have checked that Dot Net is running (2. 3 and 4) and I have also UNlocked the DLL
This runs fine on my machine , but not at the client
My Code is :
==========================================
DO wwSmtp
LOCAL loSmtp as wwSmtp
loSmtp = CREATEOBJECT("wwSmtp")
loSmtp.nMailMode = 0 && .NET 2 - classic (default)
loSmtp.cMailServer = "smtp.gmail.com:587"
loSmtp.lUseSsl = .T. && Google requires TLS
*** Optional authentication if server requires it
loSmtp.cUsername = "kernelsoftware@gmail.com"
loSmtp.cPassword = "xxxxxx"
loSmtp.cSenderName= "Gerard is the sender"
loSmtp.cSenderEmail = "gerardocarroll@gmail.com"
loSmtp.cRecipient = "gerard@kernel.ie"
loSmtp.cCcList = ""
loSmtp.cSubject = "Test Message through Google"
*** Optional - custom content type - text/plain by default
loSmtp.cContentType = "text/html"
loSmtp.cMessage = "<b>Test message from wwsmtp--KernelSoftware Gmail Sunday 13:08, to check out how this operation works.</b>"
*** Optional - send an alternate format to display if HTML isn't supported
loSmtp.cAlternateContentType = "text/plain"
loSmtp.cAlternateText = "Here is alternate content in plain text."
*** Optionally attach files
&& loSmtp.AddAttachment("c:\rick4453.jpg","image/jpg")
&& loSmtp.AddAttachment("c:\sailbig.jpg","image/jpg")
*** Optional - a couple of options
&& loSmtp.cReplyTo = "james@cranky.com"
&& loSmtp.cPriority = "High"
*** Send it
llResult = loSmtp.Sendmail()
IF llResult
WAIT WINDOW "Mail sent..." nowait
ELSE
? "Mail sending failed: "
? loSmtp.cErrorMsg
ENDIF
================================================
Well it looks like wwDotnetBridge is working fine...
Please post your code and exactly what's failing when running wwSmtp.
+++ Rick ---
Hi Rick
.net version 2.0.50727.5466 file E:\Kernel\DublinTest\wwDotNetbridge.dll
Regards,
Ger
Not sure. I need to know the point of failure. if wwdotnetbridge is not loading there should be an error firing prior to that... when it actually loads not when you're trying to access it.
Most likely problem: Either .NET is not installed or you need to unlock the DLL:
To test for the error:
DO wwDotnetBridge
loBridge = CREATEOBJECT("wwDotnetBridge")
? loBridge.GetDotnetVersion()
+++ Rick ---
Have gone up to ver5.5 on Client Tools (Using wwSMTP)
Tested on My Own machine--works dine
Deployed to Client Server and get message:
Unknown Member OBRIDGE
WWSMTP.CREATEWWSMTP
Any ideas of whats going wrong ?
Most likely the problem is that the DLL is locked. Check the wwDotnetBridge FAQ Section in the documentation.
http://www.west-wind.com/webconnection/wwClient_docs/?page=_36e0ql9ic.htm
+++ Rick ---
Hi Rick
Just getting back to this now...it was never resolved ..getting same error on another client
UNKNOWN Member oBridge
I have checked that Dot Net is running (2. 3 and 4) and I have also UNlocked the DLL
This runs fine on my machine , but not at the client
My Code is :
==========================================
DO wwSmtp
LOCAL loSmtp as wwSmtp
loSmtp = CREATEOBJECT("wwSmtp")
loSmtp.nMailMode = 0 && .NET 2 - classic (default)
loSmtp.cMailServer = "smtp.gmail.com:587"
loSmtp.lUseSsl = .T. && Google requires TLS
*** Optional authentication if server requires it
loSmtp.cUsername = "kernelsoftware@gmail.com"
loSmtp.cPassword = "xxxxxx"
loSmtp.cSenderName= "Gerard is the sender"
loSmtp.cSenderEmail = "gerardocarroll@gmail.com"
loSmtp.cRecipient = "gerard@kernel.ie"
loSmtp.cCcList = ""
loSmtp.cSubject = "Test Message through Google"
*** Optional - custom content type - text/plain by default
loSmtp.cContentType = "text/html"
loSmtp.cMessage = "<b>Test message from wwsmtp--KernelSoftware Gmail Sunday 13:08, to check out how this operation works.</b>"
*** Optional - send an alternate format to display if HTML isn't supported
loSmtp.cAlternateContentType = "text/plain"
loSmtp.cAlternateText = "Here is alternate content in plain text."
*** Optionally attach files
&& loSmtp.AddAttachment("c:\rick4453.jpg","image/jpg")
&& loSmtp.AddAttachment("c:\sailbig.jpg","image/jpg")
*** Optional - a couple of options
&& loSmtp.cReplyTo = "james@cranky.com"
&& loSmtp.cPriority = "High"
*** Send it
llResult = loSmtp.Sendmail()
IF llResult
WAIT WINDOW "Mail sent..." nowait
ELSE
? "Mail sending failed: "
? loSmtp.cErrorMsg
ENDIF
================================================
Well it looks like wwDotnetBridge is working fine...
Please post your code and exactly what's failing when running wwSmtp.
+++ Rick ---
Hi Rick
.net version 2.0.50727.5466 file E:\Kernel\DublinTest\wwDotNetbridge.dll
Regards,
Ger
Not sure. I need to know the point of failure. if wwdotnetbridge is not loading there should be an error firing prior to that... when it actually loads not when you're trying to access it.
Most likely problem: Either .NET is not installed or you need to unlock the DLL:
To test for the error:
DO wwDotnetBridge
loBridge = CREATEOBJECT("wwDotnetBridge")
? loBridge.GetDotnetVersion()
+++ Rick ---
Have gone up to ver5.5 on Client Tools (Using wwSMTP)
Tested on My Own machine--works dine
Deployed to Client Server and get message:
Unknown Member OBRIDGE
WWSMTP.CREATEWWSMTP
Any ideas of whats going wrong ?
West Wind Technologies
Making waves on the Web
from Maui
I had Unlocked the DLL (wwDotnetBridge.dll) and still getting the error
Regards,
Gerard
Please check error messages along the way of your calls.
Most likely the problem is that the DLL is locked. Check the wwDotnetBridge FAQ Section in the documentation.
http://www.west-wind.com/webconnection/wwClient_docs/?page=_36e0ql9ic.htm
+++ Rick ---
Hi Rick
Just getting back to this now...it was never resolved ..getting same error on another client
UNKNOWN Member oBridge
I have checked that Dot Net is running (2. 3 and 4) and I have also UNlocked the DLL
This runs fine on my machine , but not at the client
My Code is :
==========================================
DO wwSmtp
LOCAL loSmtp as wwSmtp
loSmtp = CREATEOBJECT("wwSmtp")
loSmtp.nMailMode = 0 && .NET 2 - classic (default)
loSmtp.cMailServer = "smtp.gmail.com:587"
loSmtp.lUseSsl = .T. && Google requires TLS
*** Optional authentication if server requires it
loSmtp.cUsername = "kernelsoftware@gmail.com"
loSmtp.cPassword = "xxxxxx"
loSmtp.cSenderName= "Gerard is the sender"
loSmtp.cSenderEmail = "gerardocarroll@gmail.com"
loSmtp.cRecipient = "gerard@kernel.ie"
loSmtp.cCcList = ""
loSmtp.cSubject = "Test Message through Google"
*** Optional - custom content type - text/plain by default
loSmtp.cContentType = "text/html"
loSmtp.cMessage = "<b>Test message from wwsmtp--KernelSoftware Gmail Sunday 13:08, to check out how this operation works.</b>"
*** Optional - send an alternate format to display if HTML isn't supported
loSmtp.cAlternateContentType = "text/plain"
loSmtp.cAlternateText = "Here is alternate content in plain text."
*** Optionally attach files
&& loSmtp.AddAttachment("c:\rick4453.jpg","image/jpg")
&& loSmtp.AddAttachment("c:\sailbig.jpg","image/jpg")
*** Optional - a couple of options
&& loSmtp.cReplyTo = "james@cranky.com"
&& loSmtp.cPriority = "High"
*** Send it
llResult = loSmtp.Sendmail()
IF llResult
WAIT WINDOW "Mail sent..." nowait
ELSE
? "Mail sending failed: "
? loSmtp.cErrorMsg
ENDIF
================================================
Well it looks like wwDotnetBridge is working fine...
Please post your code and exactly what's failing when running wwSmtp.
+++ Rick ---
Hi Rick
.net version 2.0.50727.5466 file E:\Kernel\DublinTest\wwDotNetbridge.dll
Regards,
Ger
Not sure. I need to know the point of failure. if wwdotnetbridge is not loading there should be an error firing prior to that... when it actually loads not when you're trying to access it.
Most likely problem: Either .NET is not installed or you need to unlock the DLL:
To test for the error:
DO wwDotnetBridge
loBridge = CREATEOBJECT("wwDotnetBridge")
? loBridge.GetDotnetVersion()
+++ Rick ---
Have gone up to ver5.5 on Client Tools (Using wwSMTP)
Tested on My Own machine--works dine
Deployed to Client Server and get message:
Unknown Member OBRIDGE
WWSMTP.CREATEWWSMTP
Any ideas of whats going wrong ?
Hi
Still having this probelm, on a number of different sites
I have checked that DLL is not locked
Any ideas ?
Regards,
Gerard
Please check error messages along the way of your calls.
Most likely the problem is that the DLL is locked. Check the wwDotnetBridge FAQ Section in the documentation.
http://www.west-wind.com/webconnection/wwClient_docs/?page=_36e0ql9ic.htm
+++ Rick ---
Hi Rick
Just getting back to this now...it was never resolved ..getting same error on another client
UNKNOWN Member oBridge
I have checked that Dot Net is running (2. 3 and 4) and I have also UNlocked the DLL
This runs fine on my machine , but not at the client
My Code is :
==========================================
DO wwSmtp
LOCAL loSmtp as wwSmtp
loSmtp = CREATEOBJECT("wwSmtp")
loSmtp.nMailMode = 0 && .NET 2 - classic (default)
loSmtp.cMailServer = "smtp.gmail.com:587"
loSmtp.lUseSsl = .T. && Google requires TLS
*** Optional authentication if server requires it
loSmtp.cUsername = "kernelsoftware@gmail.com"
loSmtp.cPassword = "xxxxxx"
loSmtp.cSenderName= "Gerard is the sender"
loSmtp.cSenderEmail = "gerardocarroll@gmail.com"
loSmtp.cRecipient = "gerard@kernel.ie"
loSmtp.cCcList = ""
loSmtp.cSubject = "Test Message through Google"
*** Optional - custom content type - text/plain by default
loSmtp.cContentType = "text/html"
loSmtp.cMessage = "<b>Test message from wwsmtp--KernelSoftware Gmail Sunday 13:08, to check out how this operation works.</b>"
*** Optional - send an alternate format to display if HTML isn't supported
loSmtp.cAlternateContentType = "text/plain"
loSmtp.cAlternateText = "Here is alternate content in plain text."
*** Optionally attach files
&& loSmtp.AddAttachment("c:\rick4453.jpg","image/jpg")
&& loSmtp.AddAttachment("c:\sailbig.jpg","image/jpg")
*** Optional - a couple of options
&& loSmtp.cReplyTo = "james@cranky.com"
&& loSmtp.cPriority = "High"
*** Send it
llResult = loSmtp.Sendmail()
IF llResult
WAIT WINDOW "Mail sent..." nowait
ELSE
? "Mail sending failed: "
? loSmtp.cErrorMsg
ENDIF
================================================
Well it looks like wwDotnetBridge is working fine...
Please post your code and exactly what's failing when running wwSmtp.
+++ Rick ---
Hi Rick
.net version 2.0.50727.5466 file E:\Kernel\DublinTest\wwDotNetbridge.dll
Regards,
Ger
Not sure. I need to know the point of failure. if wwdotnetbridge is not loading there should be an error firing prior to that... when it actually loads not when you're trying to access it.
Most likely problem: Either .NET is not installed or you need to unlock the DLL:
To test for the error:
DO wwDotnetBridge
loBridge = CREATEOBJECT("wwDotnetBridge")
? loBridge.GetDotnetVersion()
+++ Rick ---
Have gone up to ver5.5 on Client Tools (Using wwSMTP)
Tested on My Own machine--works dine
Deployed to Client Server and get message:
Unknown Member OBRIDGE
WWSMTP.CREATEWWSMTP
Any ideas of whats going wrong ?
Try running this code and see what you get:
do wwDotNetBridge
LOCAL loBridge as wwDotNetBridge
loBridge = GetwwDotnetBridge()*** What does this say?
? loBridge.GetDotnetversion()
+++ Rick ---
Hi
Still having this probelm, on a number of different sites
I have checked that DLL is not locked
Any ideas ?
Regards,
Gerard
Please check error messages along the way of your calls.
Most likely the problem is that the DLL is locked. Check the wwDotnetBridge FAQ Section in the documentation.
http://www.west-wind.com/webconnection/wwClient_docs/?page=_36e0ql9ic.htm
+++ Rick ---
Hi Rick
Just getting back to this now...it was never resolved ..getting same error on another client
UNKNOWN Member oBridge
I have checked that Dot Net is running (2. 3 and 4) and I have also UNlocked the DLL
This runs fine on my machine , but not at the client
My Code is :
==========================================
DO wwSmtp
LOCAL loSmtp as wwSmtp
loSmtp = CREATEOBJECT("wwSmtp")
loSmtp.nMailMode = 0 && .NET 2 - classic (default)
loSmtp.cMailServer = "smtp.gmail.com:587"
loSmtp.lUseSsl = .T. && Google requires TLS
*** Optional authentication if server requires it
loSmtp.cUsername = "kernelsoftware@gmail.com"
loSmtp.cPassword = "xxxxxx"
loSmtp.cSenderName= "Gerard is the sender"
loSmtp.cSenderEmail = "gerardocarroll@gmail.com"
loSmtp.cRecipient = "gerard@kernel.ie"
loSmtp.cCcList = ""
loSmtp.cSubject = "Test Message through Google"
*** Optional - custom content type - text/plain by default
loSmtp.cContentType = "text/html"
loSmtp.cMessage = "<b>Test message from wwsmtp--KernelSoftware Gmail Sunday 13:08, to check out how this operation works.</b>"
*** Optional - send an alternate format to display if HTML isn't supported
loSmtp.cAlternateContentType = "text/plain"
loSmtp.cAlternateText = "Here is alternate content in plain text."
*** Optionally attach files
&& loSmtp.AddAttachment("c:\rick4453.jpg","image/jpg")
&& loSmtp.AddAttachment("c:\sailbig.jpg","image/jpg")
*** Optional - a couple of options
&& loSmtp.cReplyTo = "james@cranky.com"
&& loSmtp.cPriority = "High"
*** Send it
llResult = loSmtp.Sendmail()
IF llResult
WAIT WINDOW "Mail sent..." nowait
ELSE
? "Mail sending failed: "
? loSmtp.cErrorMsg
ENDIF
================================================
Well it looks like wwDotnetBridge is working fine...
Please post your code and exactly what's failing when running wwSmtp.
+++ Rick ---
Hi Rick
.net version 2.0.50727.5466 file E:\Kernel\DublinTest\wwDotNetbridge.dll
Regards,
Ger
Not sure. I need to know the point of failure. if wwdotnetbridge is not loading there should be an error firing prior to that... when it actually loads not when you're trying to access it.
Most likely problem: Either .NET is not installed or you need to unlock the DLL:
To test for the error:
DO wwDotnetBridge
loBridge = CREATEOBJECT("wwDotnetBridge")
? loBridge.GetDotnetVersion()
+++ Rick ---
Have gone up to ver5.5 on Client Tools (Using wwSMTP)
Tested on My Own machine--works dine
Deployed to Client Server and get message:
Unknown Member OBRIDGE
WWSMTP.CREATEWWSMTP
Any ideas of whats going wrong ?
I ran the code:
Do wwDotNetBridge ........ runs without an error
loBridge = GetwwDotnetBridge() ............ comes up with : loBridge is not an object
JUst one thought ....I am running this in VFP8...is it supported for VFP8 ??
Regards,
Gerard
I'm not sure, but it sounds like wwDotnetBridge is not able to load.
Try running this code and see what you get:
do wwDotNetBridge
LOCAL loBridge as wwDotNetBridge
loBridge = GetwwDotnetBridge()*** What does this say?
? loBridge.GetDotnetversion()
+++ Rick ---
Hi
Still having this probelm, on a number of different sites
I have checked that DLL is not locked
Any ideas ?
Regards,
Gerard
Please check error messages along the way of your calls.
Most likely the problem is that the DLL is locked. Check the wwDotnetBridge FAQ Section in the documentation.
http://www.west-wind.com/webconnection/wwClient_docs/?page=_36e0ql9ic.htm
+++ Rick ---
Hi Rick
Just getting back to this now...it was never resolved ..getting same error on another client
UNKNOWN Member oBridge
I have checked that Dot Net is running (2. 3 and 4) and I have also UNlocked the DLL
This runs fine on my machine , but not at the client
My Code is :
==========================================
DO wwSmtp
LOCAL loSmtp as wwSmtp
loSmtp = CREATEOBJECT("wwSmtp")
loSmtp.nMailMode = 0 && .NET 2 - classic (default)
loSmtp.cMailServer = "smtp.gmail.com:587"
loSmtp.lUseSsl = .T. && Google requires TLS
*** Optional authentication if server requires it
loSmtp.cUsername = "kernelsoftware@gmail.com"
loSmtp.cPassword = "xxxxxx"
loSmtp.cSenderName= "Gerard is the sender"
loSmtp.cSenderEmail = "gerardocarroll@gmail.com"
loSmtp.cRecipient = "gerard@kernel.ie"
loSmtp.cCcList = ""
loSmtp.cSubject = "Test Message through Google"
*** Optional - custom content type - text/plain by default
loSmtp.cContentType = "text/html"
loSmtp.cMessage = "<b>Test message from wwsmtp--KernelSoftware Gmail Sunday 13:08, to check out how this operation works.</b>"
*** Optional - send an alternate format to display if HTML isn't supported
loSmtp.cAlternateContentType = "text/plain"
loSmtp.cAlternateText = "Here is alternate content in plain text."
*** Optionally attach files
&& loSmtp.AddAttachment("c:\rick4453.jpg","image/jpg")
&& loSmtp.AddAttachment("c:\sailbig.jpg","image/jpg")
*** Optional - a couple of options
&& loSmtp.cReplyTo = "james@cranky.com"
&& loSmtp.cPriority = "High"
*** Send it
llResult = loSmtp.Sendmail()
IF llResult
WAIT WINDOW "Mail sent..." nowait
ELSE
? "Mail sending failed: "
? loSmtp.cErrorMsg
ENDIF
================================================
Well it looks like wwDotnetBridge is working fine...
Please post your code and exactly what's failing when running wwSmtp.
+++ Rick ---
Hi Rick
.net version 2.0.50727.5466 file E:\Kernel\DublinTest\wwDotNetbridge.dll
Regards,
Ger
Not sure. I need to know the point of failure. if wwdotnetbridge is not loading there should be an error firing prior to that... when it actually loads not when you're trying to access it.
Most likely problem: Either .NET is not installed or you need to unlock the DLL:
To test for the error:
DO wwDotnetBridge
loBridge = CREATEOBJECT("wwDotnetBridge")
? loBridge.GetDotnetVersion()
+++ Rick ---
Have gone up to ver5.5 on Client Tools (Using wwSMTP)
Tested on My Own machine--works dine
Deployed to Client Server and get message:
Unknown Member OBRIDGE
WWSMTP.CREATEWWSMTP
Any ideas of whats going wrong ?
I am not sure why that would be. You should get an error if it fails to load before that that might have more information.
IAC, I released a new version of the Client Tools day before yesterday. To be sure try downloading the latest version and retry with that just to make sure you ahve all the latest pieces.
If that doesn't work I'm out of ideas.
You do have to have .NET 2.0 or 4.x (Full not ClientProfile) installed. That's the only thing I can think of.
+++ Rick ---
Hi Rick
I ran the code:
Do wwDotNetBridge ........ runs without an error
loBridge = GetwwDotnetBridge() ............ comes up with : loBridge is not an object
JUst one thought ....I am running this in VFP8...is it supported for VFP8 ??
Regards,
Gerard
I'm not sure, but it sounds like wwDotnetBridge is not able to load.
Try running this code and see what you get:
do wwDotNetBridge
LOCAL loBridge as wwDotNetBridge
loBridge = GetwwDotnetBridge()*** What does this say?
? loBridge.GetDotnetversion()
+++ Rick ---
Hi
Still having this probelm, on a number of different sites
I have checked that DLL is not locked
Any ideas ?
Regards,
Gerard
Please check error messages along the way of your calls.
Most likely the problem is that the DLL is locked. Check the wwDotnetBridge FAQ Section in the documentation.
http://www.west-wind.com/webconnection/wwClient_docs/?page=_36e0ql9ic.htm
+++ Rick ---
Hi Rick
Just getting back to this now...it was never resolved ..getting same error on another client
UNKNOWN Member oBridge
I have checked that Dot Net is running (2. 3 and 4) and I have also UNlocked the DLL
This runs fine on my machine , but not at the client
My Code is :
==========================================
DO wwSmtp
LOCAL loSmtp as wwSmtp
loSmtp = CREATEOBJECT("wwSmtp")
loSmtp.nMailMode = 0 && .NET 2 - classic (default)
loSmtp.cMailServer = "smtp.gmail.com:587"
loSmtp.lUseSsl = .T. && Google requires TLS
*** Optional authentication if server requires it
loSmtp.cUsername = "kernelsoftware@gmail.com"
loSmtp.cPassword = "xxxxxx"
loSmtp.cSenderName= "Gerard is the sender"
loSmtp.cSenderEmail = "gerardocarroll@gmail.com"
loSmtp.cRecipient = "gerard@kernel.ie"
loSmtp.cCcList = ""
loSmtp.cSubject = "Test Message through Google"
*** Optional - custom content type - text/plain by default
loSmtp.cContentType = "text/html"
loSmtp.cMessage = "<b>Test message from wwsmtp--KernelSoftware Gmail Sunday 13:08, to check out how this operation works.</b>"
*** Optional - send an alternate format to display if HTML isn't supported
loSmtp.cAlternateContentType = "text/plain"
loSmtp.cAlternateText = "Here is alternate content in plain text."
*** Optionally attach files
&& loSmtp.AddAttachment("c:\rick4453.jpg","image/jpg")
&& loSmtp.AddAttachment("c:\sailbig.jpg","image/jpg")
*** Optional - a couple of options
&& loSmtp.cReplyTo = "james@cranky.com"
&& loSmtp.cPriority = "High"
*** Send it
llResult = loSmtp.Sendmail()
IF llResult
WAIT WINDOW "Mail sent..." nowait
ELSE
? "Mail sending failed: "
? loSmtp.cErrorMsg
ENDIF
================================================
Well it looks like wwDotnetBridge is working fine...
Please post your code and exactly what's failing when running wwSmtp.
+++ Rick ---
Hi Rick
.net version 2.0.50727.5466 file E:\Kernel\DublinTest\wwDotNetbridge.dll
Regards,
Ger
Not sure. I need to know the point of failure. if wwdotnetbridge is not loading there should be an error firing prior to that... when it actually loads not when you're trying to access it.
Most likely problem: Either .NET is not installed or you need to unlock the DLL:
To test for the error:
DO wwDotnetBridge
loBridge = CREATEOBJECT("wwDotnetBridge")
? loBridge.GetDotnetVersion()
+++ Rick ---
Have gone up to ver5.5 on Client Tools (Using wwSMTP)
Tested on My Own machine--works dine
Deployed to Client Server and get message:
Unknown Member OBRIDGE
WWSMTP.CREATEWWSMTP
Any ideas of whats going wrong ?
West Wind Technologies
Making waves on the Web
from Maui