Difference between revisions of "ConversionMethods"
Line 47: | Line 47: | ||
|- valign="top" align="left" | |- valign="top" align="left" | ||
− | | style="border: 1px solid;" | [[ | + | | style="border: 1px solid;" | [[setBulkMailFromResource|setBulkMailFromResource(bulkMailId, resourceId)]] |
− | | style="border: 1px solid;" | [[BulkMail_class|BulkMail.From]] | + | <source lang="javascript"> |
− | | style="border: 1px solid;" | New class BulkMail (BulkMail.From | + | number bulkMailId = 21065; |
+ | number resourceId = 17145420; | ||
+ | |||
+ | setBulkMailFromResource(bulkMailId, resourceId); | ||
+ | |||
+ | </source> | ||
+ | | style="border: 1px solid;" | [[BulkMail_class|BulkMail.From = value]] | ||
+ | <source lang="javascript"> | ||
+ | number bulkMailId = 17148449; | ||
+ | number resourceId = 17145420; | ||
+ | BulkMail bm = new BulkMail (bulkMailId); | ||
+ | bm.From = new EmailAccount(0, resourceId); | ||
+ | bm.Save(); | ||
+ | </source> | ||
+ | | style="border: 1px solid;" | New class BulkMail | ||
+ | |||
+ | |- valign="top" align="left" | ||
+ | | style="border: 1px solid;" | [[setBulkMailFromGlobalEmailAlias|setBulkMailFromGlobalEmailAlias(bulkMailId, globalEmailId)]] | ||
+ | <source lang="javascript"> | ||
+ | number bulkMailId = 21065; | ||
+ | number globalEmailId = 16238; | ||
+ | |||
+ | setBulkMailFromGlobalEmailAlias(bulkMailId,globalEmailId); | ||
+ | |||
+ | </source> | ||
+ | | style="border: 1px solid;" | [[BulkMail_class|BulkMail.From = value]] | ||
+ | <source lang="javascript"> | ||
+ | number bulkMailId = 17148449; | ||
+ | number globalEmailId = 16238; | ||
+ | BulkMail bm = new BulkMail (bulkMailId); | ||
+ | bm.From = new EmailAccount(1, globalEmailId); | ||
+ | bm.Save(); | ||
+ | </source> | ||
+ | | style="border: 1px solid;" | New class BulkMail | ||
|- valign="top" align="left" | |- valign="top" align="left" | ||
− | | style="border: 1px solid;" | [[ | + | | style="border: 1px solid;" | [[setBulkMailFromWebshop|setBulkMailFromWebshop(bulkMailId)]] |
− | | style="border: 1px solid;" | [[BulkMail_class|BulkMail.From]] | + | <source lang="javascript"> |
− | | style="border: 1px solid;" | New class BulkMail | + | number bulkMailId = 21065; |
+ | |||
+ | setBulkMailFromWebshop(bulkMailId); | ||
+ | </source> | ||
+ | | style="border: 1px solid;" | [[BulkMail_class|BulkMail.From = value]] | ||
+ | <source lang="javascript"> | ||
+ | number bulkMailId = 17148449; | ||
+ | BulkMail bm = new BulkMail (bulkMailId); | ||
+ | bm.From = new EmailAccount(2); | ||
+ | bm.Save(); | ||
+ | </source> | ||
+ | | style="border: 1px solid;" | New class BulkMail | ||
|- valign="top" align="left" | |- valign="top" align="left" | ||
| style="border: 1px solid;" | [[setBulkMailFromSupport|setBulkMailFromSupport(bulkMailId)]] | | style="border: 1px solid;" | [[setBulkMailFromSupport|setBulkMailFromSupport(bulkMailId)]] | ||
− | + | <source lang="javascript"> | |
− | + | number bulkMailId = 21065; | |
− | + | setBulkMailFromSupport(bulkMailId); | |
− | | style="border: 1px solid;" | [[ | + | </source> |
− | + | | style="border: 1px solid;" | [[BulkMail_class|BulkMail.From = value]] | |
− | | style="border: 1px solid;" | New class BulkMail | + | <source lang="javascript"> |
+ | number bulkMailId = 17148449; | ||
+ | BulkMail bm = new BulkMail (bulkMailId); | ||
+ | bm.From = new EmailAccount(3); | ||
+ | bm.Save(); | ||
+ | </source> | ||
+ | | style="border: 1px solid;" | New class BulkMail | ||
|- valign="top" align="left" | |- valign="top" align="left" |