Otherwise, everything else about the web app works great. I'm sure it's a config issue in IIS somewhere but feel like I've depleted everything I can think of.
Sean
From: | Sean Gowens |
To: | Sean Gowens |
Otherwise, everything else about the web app works great. I'm sure it's a config issue in IIS somewhere but feel like I've depleted everything I can think of.
Sean
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 ---
'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