jmail replace skadelige tegn
Hejsa,Jeg skal sende en mails via jmail, men når jeg f.eks. skriver skal inkludere "tegn" så cutter den af så kun det der står før det første " tegn kommer med.. Hvordan får jeg rettet det?? jeg bruger denne kode som jeg troede skulle ordne det..
thebody = replace(request.form("thebody"), "###name###", themembers("CNname"))
thebody = Replace(thebody, "%C3%A6", "æ")
thebody = Replace(thebody, "%C3%86", "Æ")
thebody = Replace(thebody, "%C3%B8", "ø")
thebody = Replace(thebody, "%C3%98", "Ø")
thebody = Replace(thebody, "%C3%A5", "å")
thebody = Replace(thebody, "%C3%85", "Å")
thebody = Replace(thebody, "%2F", "/")
thebody = Replace(thebody, "%7C", "|")
thebody = Replace(thebody, "%3F", "?")
thebody = Replace(thebody, "%21", "!")
thebody = Replace(thebody, "%40", "@")
thebody = Replace(thebody, "%5C", "\")
thebody = Replace(thebody, "%23", "#")
thebody = Replace(thebody, "%24", "$")
thebody = Replace(thebody, "%5E", "^")
thebody = Replace(thebody, "%26", "&")
thebody = Replace(thebody, "%25", "%")
thebody = Replace(thebody, "%2A", "*")
thebody = Replace(thebody, "%28", "(")
thebody = Replace(thebody, "%29", ")")
thebody = Replace(thebody, "%7D", "}")
thebody = Replace(thebody, "%3A", ":")
thebody = Replace(thebody, "%2C", ",")
thebody = Replace(thebody, "%7B", "{")
thebody = Replace(thebody, "%2B", "+")
thebody = Replace(thebody, "%2E", ".")
thebody = Replace(thebody, "%2D", "-")
thebody = Replace(thebody, "%7E", "~")
thebody = Replace(thebody, "%2D", "-")
thebody = Replace(thebody, "%5B", "[")
thebody = Replace(thebody, "%5F", "_")
thebody = Replace(thebody, "%5D", "]")
thebody = Replace(thebody, "%60", "`")
thebody = Replace(thebody, "%3D", "=")
thebody = Replace(thebody, "%27", "'")
thebody = Replace(thebody, "+", " ")
thebody = Replace(thebody, "%22", Chr(34))
thebody = replace(thebody, "'", "")
thebody = replace(thebody, """", "")
thebody = replace(thebody, "''", "")
thebody = replace(thebody, "<", "")
thebody = replace(thebody, ">", "")