Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: wwdotnetbridge

$
0
0
Re: wwdotnetbridge
Web Connection 5.0
Re: wwdotnetbridge
Jan. 6, 2013
06:58 pm
3OP14NQZFShow this entire thread in new window
Gratar Image based on email address
From:Sean Gowens
To:Rick Strahl
System.
Loading it locally.
It's the same code exactly. I've trying nMailMode 2 and it doesn't go either. It must have something to do with IIS. I'll keep looking.
thanks.


What account does the Web Connection server run under? Are you loading the component from network location?

Is the code exactly the same? ie. are you use the same nMailMode setting for both - 0 requires .NET and if so is .NET 2.0 (or 4.0) on the machine.

+++ Rick ---



I've had our web app running on a server 2003 for a long time, and my local development machine (windows 7). I recently moved the web app on a server 2008 r2 machine and got it fully setup. Everything fully works except when it needs to email. I get a popup saying:

'unable to load wwdotnetbridge: unable to load clr isntance'

The funny thing is I have a desktop app on the same server 2008 machine running the same code and it works (send the email.)

I'm at a loss.

Here's sample code (that works on previous server/local machine):
SET PROCEDURE TO wwdotnetbridge addi
SET procedure TO wwsmtp additive
oSMTP=CREATEOBJECT("wwsmtp")
WITH oSMTP
.cMailServer="smtp.gmail.com"
.cSenderEmail="someone@gmail.com"
.cSenderName="Automated Process"
.cContentType = "text/html"
.nMailMode = 0
.cUserName = "username@gmail.com"
.cPassword = "password"
.lUseSSL = .t.
.nServerPort = 587
.nTimeOut = 30
.cRecipient = "someone@somewher.com"
.cSubject= "test subject"
.cMessage = "test message"
IF ! .SendMail()
this.ErrorDisplay.ShowMessage("didn't go")
ELSE
this.ErrorDisplay.ShowMessage("sent")
ENDIF
ENDWITH





Viewing all articles
Browse latest Browse all 10393

Trending Articles