472,117 Members | 2,643 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,117 software developers and data experts.

800a000d|Type_mismatch:_'SendMail'

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
4 3015
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
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
> 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
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.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.