Questions tagged [email-attachments]

Email attachments are file(s) that are sent along with an email. Use this tag for programming questions related to attaching files to an email message, receiving such files, or processing them (e.g. as part of a mail forwarder or spam filter). Non-programming support questions related to email attachments (e.g. what to click on to add an attachment) are off-topic here, but may be suitable elsewhere on the network.

An email attachment is a computer file sent along with an email message. One or more files can be attached to any email message, and be sent along with it to the recipient. This is typically used as a simple method to share documents and images. A paper clip image is the standard image for an attachment in an email client.

Most mail providers also impose a restriction on the file size of email attachments. For example, Gmail restricts the total email attachment size to 25 MB.

It is also common for some mail providers to block certain emails based on email attachment file types due to security issues.

This tag may relate to:

  • The process of attaching any file with an email
  • The file itself
2599 questions
0
votes
0 answers

can not read attached files where i have have embedded file with ImapX

I have code that read email attachments, embedded and not embedded, but if have both in the same email, only read embedded attachment. Any help will be appreciated.. My code. { string strFiltro = String.Format("SINCE {0}-{1}-{2} BEFORE…
KlingCan
  • 29
  • 5
0
votes
1 answer

How to prevent Phpmailer sending embedded image as an attachment?

I am sending an email with the logo of a company in it. However, it sending Base64 file as attachment on Gmail. The logo is inside the email and looks really good, but I do not understand why I see its code as an attachment. This is my…
Maor Bari
  • 107
  • 1
  • 4
0
votes
0 answers

How to create a file and attach it email?

I'm trying to send an email via my app (using react and node). My problem is how to attach file to the message? I need first to create a file and then to attach it, but no need to save it only to send. By searching I found only approach which assume…
R H
  • 667
  • 1
  • 6
  • 16
0
votes
1 answer

I am working on an email service, but the link is obfuscated in some way, and doesn't a functioning link

So I have some code //var urlPathReset = Request.Url.AbsoluteUri.ToString().Replace("RequestReset", "PasswordReset"); var urlPathReset = string.Format("{0}/{1}/{2}", passwordResetUrl, "resettoken", confirmationKey); var body = new…
Justin Le
  • 673
  • 1
  • 8
  • 24
0
votes
1 answer

Send HTML image email in python

I am trying to send HTML email with inline image but the image is not coming, for some system, it's working fine and image is showing but for some it's not coming, Check the attached image for reference. And I also trying bypassing image using…
0
votes
0 answers

Mailto function is not working in Mobile view responsive

hey here is the code whenever my site is converted into the mobile view then mailto function is not working? can anyone suggest to me a solution to how he is works in mobile-view?
0
votes
1 answer

How to add HTML attach-file to PHP?

I'm trying to create contact form that would let me attach file. I'm very new to PHP. I have tried looking for youtube videos but was not able to find any ussefull information. I'm hoping that you could help me with my PHP. Also if there is better…
Paul C
  • 31
  • 6
0
votes
2 answers

How to send message in email body with custom design using bootstrap-4?

I am trying to send message through smtp using CodeIgniter-4 framework. For this purpose, I have designed a card as message body using bootstrap-4 and want to send this message to receiver. I can send this message successfully but the message is not…
Monayem Islam
  • 294
  • 3
  • 15
0
votes
1 answer

Email attachment issues with python 2.7 smtplib and mime

I am interested in sending a text-body email with a csv attachment. This seems simple when I've used very small csvs (10 rows), but the emails wont send when I have larger attachments. My email attachment size limitation is 10MB, so I don't…
Owen Meyer
  • 21
  • 5
0
votes
1 answer

How do I send multiple excel files to multiple groups in Outlook?

I am trying to generate 5 email which have- 5 groups of recipient and each group receives a couple of excel files. I want to automate an email where specific files goes to specific groups. But fail to attach multiple files in the code. My code…
Aps
  • 214
  • 2
  • 9
0
votes
2 answers

BASH: Send HTML email with a list of files in boby

Trying to use the "find" command to list of files and send as a list instead of a one line list. expecting outcome on body of the email listing the files (see bodyHTML line as well): file1 file2 file3 current outcome: "file1,file2,file3" <--not…
kurama
  • 3
  • 2
0
votes
1 answer

Incoming email with attachment .pdf extension missing

I have this PHP code to attach a document to an email: require('./PHPMailer_v5.1/class.phpmailer.php'); $mail = new PHPMailer(); $mail->Username = "xxxxx.com"; $mail->Password = "xxxx"; $mail->Host = "smtp.office365.com"; $mail->Mailer =…
RAMIA M K
  • 1
  • 1
0
votes
2 answers

Python Saving Attachments from Outlook

I am trying to automate some python code that will automatically save some attachments from certain emails with a specific title. Below is what I currently have: import win32com.client as client outlook =…
Nairda123
  • 137
  • 2
  • 14
0
votes
1 answer

Save attachments from last mails

I need saving the attachments im mails from one sender with file format 'gz' to folder GmailToDrive in Google-drive with replacement old file Here Apps script saving attachments from last mail I get answer with script, but something is wrong. I…
0
votes
4 answers

How to read string from a file that contains placeholders for variables and add it to the code and then send an email?

I have a text file called email_body.txt and it has the following data: email_body.txt: Dear {b}, Hope all your queries were resolved in your recent consultation with Dr. XXXXXXXXXXXXX on: {e} Your prescription is attached herewith. Wishing you a…
Deven Jain
  • 27
  • 1
  • 8