UserLand Software Home  |  Manila  |  Radio  |  Support  |  News

DocServer

Prev | Next | String Verbs > string.mailMessageToTable

string.mailMessageToTable

Syntax string.mailMessageToTable (string, adrtable)

Params string is a string containing the full text of an email message.

adrtable is the address of a table.

Action Breaks the email message up into its components, storing each component in a separate cell in the table.

Returns True.

Example s = "X-Sender: dave@scripting.com\r\nX-Mailer: Random mail program\r\nDate: Tue, 22 Sep 1998 06:55:54 -0700\r\nTo: dave@userland.com\r\nFrom: Dave Winer r\nSubject: Test messager\nr\nHello, this is a test. Dave"


new (tabletype, @scratchpad.mailparts)


mailMessageToTable (s, @scratchpad.mailparts)


edit (@scratchpad.mailparts)

Notes This verb is implemented as a script.

This verb is new in Frontier 5.1.4.

It creates the table if it doesn't exist.

See Also string.cleanMailAddress

Prev | Next | String Verbs > string.mailMessageToTable

Anonymization by Anonymouse.org ~ Adverts
Anonymouse better ad-free, faster and with encryption?
X