Questions tagged [attachment]

Any additional content added to a digital object, such as an email attachment.

Many languages provide facilities for sending email or transmitting other data (e.g. SOAP) but may not always provide a clear interface for attaching documents or other arbitrary binary data to the message or object.

This tag is for all questions relating to adding attachments to transmitted data or providing an interface for doing so.

2942 questions
0
votes
0 answers

How Do I Use FormData and AJAX to attach a document to an email?

I have made several attempts to process form attachments and have had no luck, aside from the initial upload box in the html. I've read that it is possible using FormData, which my attempts have been centered around, but none of my attempts have…
jgdhnds
  • 11
  • 2
0
votes
0 answers

VBA script - Outlook - save and change attachment name in time format hh:mm:ss

I have managed to edit well known VBA script for saving outlook attachments, which I found here to change the attachment name to hour, minute and second in which was message recieved. After a lot of attemps I cant seem to figure out how to change…
robsik
  • 9
  • 6
0
votes
0 answers

how can we have same post name for attachment and custom post type in wordpress?

In wordpress as far as I understand attachment(i.e.image) is also treated as a custom post type like other custom post type. So when I have 'staff' name as abc I can't have 'attachment' name as abc also( or else custom post type detail wont't work…
samjhana joshi
  • 1,995
  • 4
  • 35
  • 69
0
votes
0 answers

contact form with attachment wordpress

Hi i want to create a form with attachment, when submit is clicked the form details and the attachment are sent as attachment to my email and to this directory: /var/www/html/attach (/var/www/html/ is my Wordpress root) this is what I did, the form…
0
votes
1 answer

How to store attachment and image from HCL Notes to MS Sql database?

I have to store attachments and pictures from HCL Notes to MS Sql database. I encounter two issues. First the Notes array limit is 32767 whereas the attachement can be like 0.5 MB to 3 MB. It says Overflow on this line Redim attachmentBytes(32767)…
0
votes
0 answers

Sending Attachment in Soap using Jax-ws

I am starting with Soap and I have to send a soap response with few details along with a pdf file attachment. AllDetails.java public class AllDetails implements Serializable{ /** * */ private static final long serialVersionUID =…
0
votes
0 answers

need method to Send PDF/Image file to user on whatsapp

I Have been Trying to send the details to user on whatsapp using python pywhatkit module and i have been successful in sending the text data to the Customer but my requirement is to send the PDF File to customer along with text messages. Text Msg to…
0
votes
1 answer

attach a database to azure sql

I would like to attach a .mdf file to my Microsoft Azure SQL database via SQL Server Management Studio, but when I try to right click to the "database" I can see the following: enter image description here As you can see there is no attach option,…
NoCukor
  • 11
0
votes
0 answers

Attaching the active workbook to e-mail

Trying to get this macro to attach the active workbook to email sent through outlook. I can get the e-mail send (it is also sending a clip from one of the sheets as the body of the e-mail. The email sends, but will not attach the file. Sub…
JLGAZ
  • 15
  • 3
0
votes
0 answers

Java Stream a file into attachment without holding in memory

I'm using simplejavamail to send emails with attachments. As an enhancement, I would like to load the file from the file path in a streaming fashion and add it as an attachment (just the stream). This way, I want to avoid loading entire file in…
0
votes
0 answers

Netsuite Rest API POST message attachments

We are using Netsuite as our CRM application. We already build an interface at our website to add messages to existing supportcases. Im using the REST API and the suiteQL API to POST data to netsuite. However we now want to expand this to add…
Webdeveloper_Jelle
  • 2,868
  • 4
  • 29
  • 55
0
votes
1 answer

XmlDictionaryReader Error "MTOM messages must have media type 'multipart' and media subtype 'related'."

I am trying to read an MTOM attachment with C# by using an XcmlDictionaryReader. using (Porsche_KPM.CertificateWebClient client = new Porsche_KPM.CertificateWebClient(aCertificate)) { Session.FormMain.ProgressStart($"Downloading…
0
votes
1 answer

Export Attachment from outlook to excel cells

I've an issue to export attachments from outlook to excel cells. The attachment is not the filename, but the file itself. For example, if PDF file, it will extract the PDF file to the cells, not the filename or the details inside of PDF. I know how…
sephiroth
  • 43
  • 7
0
votes
0 answers

How to attach dialog to specific View

I have a screen with many elements. And I need to show dialogs near those elements. AlertDialog out of the box allows me to show dialogs on the bottom or top. But I need to attach them to the particular views. Any idea how to get it?
Helios
  • 63
  • 8
0
votes
1 answer

How to properly encode an Excel file in base64 for upload via an API

I am trying to upload an Excel as an attachment via an API call that requires a base64 encoded version of the Excel file. The file is uploaded successfully via the API, but when downloaded Excel shows a message that the file is corrupted and cannot…
ncmc100
  • 21
  • 1
1 2 3
99
100