By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,160 Members | 1,983 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,160 IT Pros & Developers. It's quick & easy.

800a000d|Type_mismatch:_'SendMail'

P: n/a
I have never encountered this error before. Any ideas on
where to start looking? I believe that my application is
attempting to send me an error message, but one of my
types (?) of the message I am loading up is invalid? What
can I do with SendMail, or where can I find the types
allowed?

Thanks -

Mary
Jul 19 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Showing your code would be a good start. :-)

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Mary Lintz" <ma********@mail.co.ventura.ca.us> wrote in message
news:f5****************************@phx.gbl...
I have never encountered this error before. Any ideas on
where to start looking? I believe that my application is
attempting to send me an error message, but one of my
types (?) of the message I am loading up is invalid? What
can I do with SendMail, or where can I find the types
allowed?

Thanks -

Mary

Jul 19 '05 #2

P: n/a
Aaron:

I was afraid that you were going to ask that. There are two routines
are could be the culprit, following is one of them

m_Sybase_testing_change_emails = "th********@mail.co.ventura.ca.us," & _
"ma********@mail.co.ventura.ca.us"

m_Sybase_up_message = "The WebTax application can now communicate with
the Cashiering " & _
"WebTax can now accept ACH payments. "

m_Sybase_down_message = "The WebTax application can not communicate
with the Cashiering " & _
"WebTax can not ACH accept payments at this time. " & _
"Please verify the application is live."

'Sybase Server is down
If m_SybaseLive = "False" Then

If m_WebTaxServer = "ServerIPAddress" OR m_WebTaxServer =
"serverIPAddress" Then 'testing environment

'send email to developers - Sybase is back up
SendMail m_Sybase_email,m_Sybase_testing_change_emails,"Syb ase
Server Down",m_Sybase_down_message

Else 'live environment

'send email to Tax Office Staff - Sybase is back up
SendMail m_Sybase_email,m_Sybase_live_change_emails,"Sybase Server
Down",m_Sybase_down_message

End If

'change application variable to indicate new Sybase status
Application.Contents("Sybaseup") = "False"

End If

I was actually looking for documentation of SendMail, and I believe I
could look it up. Thanks
Mary Lintz
Website Cooridnator - ISD
County of Ventura
http://www.countyofventura.org
ma********@mail.co.ventura.ca.us

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #3

P: n/a
> SendMail m_Sybase_email,m_Sybase_testing_change_emails,"Syb ase
Server Down",m_Sybase_down_message


This is ASP code, right? Is SendMail a sub, or a function? Where is it
defined?

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
Jul 19 '05 #4

P: n/a
That's a great question, and I think this is our problem. That'll teach
us to cut & paste!!

Mary

Mary Lintz
Website Cooridnator - ISD
County of Ventura
http://www.countyofventura.org
ma********@mail.co.ventura.ca.us

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.