INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

ASP (classic) CDO emails to a mac server?

ASP (classic) CDO emails to a mac server?

(OP)
Hi All,

I have been using a third party that hosts my website and front end (smart host) email server. These have been running on two different Windows 03 boxes and everything has worked as expected for a long time; i can email using CDO from an asp webpage on IIS to the email server and the email is sent out. Over the weekend the email server had a hardware failure so he switched to a mac email server. I don't know which one, only that's it's really small and has no cooling fans. Emails are coming in again but my whole website is broken. Is there a script i need to use to send emails through a mac server? This is what i have been using with Win03 IIS to Win03 email server:

sch = "http://schemas.microsoft.com/cdo/configuration "
Set cdoConfig = Server.CreateObject("CDO.Configuration")

With cdoConfig.Fields
 .Item(sch & "sendusing") = 2
 .Item(sch & "smtpserver") = "mail.xxxxxx.net"
 .update
End With

Set objMail = Server.CreateObject("CDO.Message")
Set objMail.Configuration = cdoConfig
objMail.From = email
objMail.To = toemail
objMail.Subject = "Email Message"
objMail.HTMLBody = strBody
objMail.Send

Set objMail = Nothing
Set cdoConfig = Nothing

RE: ASP (classic) CDO emails to a mac server?

As long as the SMTP Server name points to a valid mail server address that accepts mail on port 25 it does not matter what OS the mail server is on.

 

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close