- Windows Server 2008 r2 x64,
- Plesk v10.4.4
- with MailEnable Standard 6.0 (installed by plesk)
I would know if with this configuration is still possible to use API for sending email through ASP pages.
I ask because, even if it's brand new vps, i have problem loading CDOSYS.DLL, so i would like to use mailenable API,
but when i launch this code:
Code: Select all
Set oMail = server.CreateObject("MEMail.Message")
oMail.MailFrom = "firstname.lastname@example.org"
oMail.MailFromDisplayName = "Test Account"
oMail.ContentType = "text/html;"
oMail.MailTo = "email@example.com"
oMail.Subject = "Welcome to our service"
oMail.MessageBody = "<html><body><h1>Hello there,<BR>Welcome to our new service.</h1></body></html>"
i get error:
Server object error 'ASP 0177 : 800401f3'
test_mail.asp, line 30
reading the documentation:
Note: The COM component is only 32bit, and will not work under 64bit websites, or
64bit applications. It is recommended that you use the .NET System.Net.Mail
namespace to send email for any new applications or sites.
By the way, nowdays x64 servers are quite common, is it possible that x64 is still not supported ?