wodMailbox ActiveX Control - FromString Method
      
 

Description

Imports header from string variable.


Return Type

None  


Syntax

object.FromString(HeaderData)



The FromString Method syntax has these parts:

Part Description
object An expression evaluating to an object of type Header.
HeaderData Required. Holds full header line.

Remarks

FromString method will fill header information from provided string variable, that holds full header line, such as "From: general@weonlydo.com", in which case it will fill property Name with "From", and property Value with "general@weonlydo.com". For example, you can use it like this:

a = "From: general@weonlydo.com"
Mailbox.Messages(0).Headers.Add("").FromString(a)