From Property
The email address of the HTTP agent (optional).
Syntax
ANSI (Cross Platform) char* GetFrom();
int SetFrom(const char* lpszFrom); Unicode (Windows) LPWSTR GetFrom();
INT SetFrom(LPCWSTR lpszFrom);
@property (nonatomic,readwrite,assign,getter=from,setter=setFrom:) NSString* from; - (NSString*)from; - (void)setFrom:(NSString*)newFrom;
#define PID_AS2SENDER_FROM 44 IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_AS2Sender_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_AS2Sender_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
If the From property contains a non-empty string, an HTTP From: header is added to the request. This header generally gives the email address of the requester of the document.
This property is not available at design time.
Data Type
String