Missing Header ? - WeOnlyDo Discussion board

Missing Header ? (General questions)

by Maverick5, Thursday, December 29, 2005, 13:59 (6903 days ago)

hey Guys,

How do we check to see if header exists in email,
before running variable = msg.header( to ).value
so the app doesn't crash when it does not exist ?

Thanks

Re: Missing Header ?

by wodSupport, Thursday, December 29, 2005, 14:38 (6903 days ago) @ Maverick5

You can use Headers.Exists method, or you can just try to read it and trap the error.