Set objEmailValidation = Server.CreateObject("w3.ValidationUtils")
strMailOK = objEmailValidation.CheckEmailAddress(john@doe.net,true,alias@mydomain.dk)
-giver "invalid character" på @
Set objEmailValidation = Server.CreateObject("w3.ValidationUtils")
strMailOK = objEmailValidation.CheckEmailAddress('john@doe.net',true,'alias@mydomain.dk')
-giver "invalid character" på '
Set objEmailValidation = Server.CreateObject("w3.ValidationUtils")
strMailOK = objEmailValidation.CheckEmailAddress("john@doe.net",true,"alias@mydomain.dk")
-giver:
Microsoft VBScript runtime error '800a01c2'
Wrong number of arguments or invalid property assignment: 'CheckEmailAddress'
Syntaxen ser således ud:
CheckEmailAddress(EmailAddress, [DeepScan], [FromEmailAddress])
http://tech.dimac.net/isapiscript.dll?action=read&id=32596&refId=32441
Hvordan skal den grejes?
Anders Lau
----
Anders Lau Mandsholm
Aabyhoej, Denmark
ICQ: 67986301
MSN: mandsholm
www.mandsholm.dk
lau@mandsholm.ingenspamtak.dk