Thread Tools Display Modes
05/21/20, 06:30 PM   #1
scatteredshots
Join Date: May 2020
Posts: 2
Add attachment to mail

Can anyone tell me if it's possible to add attachments to mail via an addon? I searched but didn't find much in the way of that functionality so I'm worried it's not possible. Any help would be appreciated.
  Reply With Quote
05/21/20, 07:14 PM   #2
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 659
I would expect that to be a protected function.
  Reply With Quote
05/21/20, 08:15 PM   #3
scatteredshots
Join Date: May 2020
Posts: 2
Yeah I thought as much. Thanks for your input.
  Reply With Quote
05/21/20, 08:27 PM   #4
Dolgubon
 
Dolgubon's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2016
Posts: 408
It is actually not a protected function!
QueueItemAttachment(bagId, slotId, attachmentSlot)

That said, actually sending the mail is a private (restricted) function.
  Reply With Quote
05/22/20, 03:04 AM   #5
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,903
You can have a look at the addon DoItAll -> AttachAll files
  Reply With Quote
05/27/20, 12:57 PM   #6
AssemblerManiac
AddOn Author - Click to view addons
Join Date: Jun 2014
Posts: 51
Any time one or more items are attached to a mail message, the user must ok it before sending. This is to prevent silent theft of items in the background.
  Reply With Quote

ESOUI » Developer Discussions » Tutorials & Other Helpful Info » Add attachment to mail

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off