CreateObject error '80070008'
bonjour,
voila je dois envoyer des mails en asp, hier matin tout fonctionnait bien mais depuis hier apreès midi j'ai une erreur qui n'est pas commentée j'ai juste un code !!!
et je vois pas ce que cela veut dire !!!!!
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| Dim objMail
Set objMail = CreateObject("CDO.Message")
objMail.Subject = sujetMail
objMail.From = expediteurMail
objMail.To = destiMail
objMail.Cc = copieExped
objMail.HTMLBody = HTML
objMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
'Nom du serveur SMTP
objMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.dj.sncf.fr"
'Port du serveur SMTP
objMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = "25"
objMail.Configuration.Fields.Update
objMail.Send
set objMail=nothing
if (error = 0) then
%> |
l'erreur est à cette ligne :Set objMail = CreateObject("CDO.Message")
et le code erreur est : error '80070008'
merci de votre aide