C Style API
bbGetFromFriendlyName() Function

Returns the friendly name of the FROM: email header within the sMessageText parameter.

bbGetFromFriendlyName (sMessageText, sReturn, lLength)



Parameters

sMessageText

Null terminated character array containing the email message that you need to retrieve the FROM: friendly name from.

sReturn [out]

Null terminated 255 character array. Returns the value of the FROM: friendly name.

lLength [out]

Returns a long value. Contains the length of the value returned in sReturn.


Syntax - (Visual Basic)

' ** Pad sValue out parameter with spaces.
sValue = String(255, " ")

' ** Call Subroutine
Call bbGetFromFriendlyName(sMessage, sValue, lLength)

' ** Set value
sFromFriendly = Left(sValue, lLength)


Remarks

For more examples, and language specific declarations, see sample source code files that came with BoogieBounce API.


See Also

Visual Basic Users
Power Basic Users