Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direct Emails to contacts do not add attachments or headers #9322

Open
mabumusa1 opened this issue Oct 20, 2020 · 9 comments
Open

Direct Emails to contacts do not add attachments or headers #9322

mabumusa1 opened this issue Oct 20, 2020 · 9 comments
Assignees
Labels
bug Issues or PR's relating to bugs contacts Anything related to contacts email Anything related to email email-integrations Anything related to integrations with mail providers. Plugins have a separate label! stale Issues which have not received an update within 90 days T1 Low difficulty to fix (issue) or test (PR)

Comments

@mabumusa1
Copy link
Member

mabumusa1 commented Oct 20, 2020

Bug Description

The more details the better...

Q A
Mautic version 3.1.2
PHP version 7.3
Browser Irrelevent

Steps to reproduce

  1. Create a template email with headers and an attachment
  2. Create a contact
  3. Send a direct email to that contact via the contact profile page
  4. The attachment and the headers will not be sent

The cause of the issue is on this file, new lines are required to add the attachments and headers

$mailer->parsePlainText($email['body']);

Log errors

@mabumusa1 mabumusa1 added bug Issues or PR's relating to bugs email Anything related to email contacts Anything related to contacts labels Oct 20, 2020
@mabumusa1 mabumusa1 added this to the 3.2 milestone Oct 20, 2020
@mabumusa1 mabumusa1 self-assigned this Oct 20, 2020
@andrekutianski
Copy link

this can cause a 403 error when sending a direct email to contact?

@mabumusa1
Copy link
Member Author

this can cause a 403 error when sending a direct email to contact?

@andrekutianski I do not think so.

@npracht npracht removed this from the 3.2.0 milestone Nov 23, 2020
@RCheesley RCheesley added T1 Low difficulty to fix (issue) or test (PR) email-integrations Anything related to integrations with mail providers. Plugins have a separate label! labels Dec 11, 2020
@saitanay
Copy link
Contributor

Can confirm this is the behavior.

The options added in Advanced section of the email are not present in the email received.
image

Fixing this might require not just updating the parsing of the email being sent to include the attachment and headers, but will also require an UI update to show the attachment and headers on the preview pane while sending email from contact page - so the sender knows what they are sending (including the headers and attachment)
image

@alanhartless
Copy link
Contributor

I think #8537 would address this as well but I had concerns about implications of the way it's fixing it. #8537 (comment)

@stale
Copy link

stale bot commented Jun 2, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issues which have not received an update within 90 days label Jun 2, 2021
@stale
Copy link

stale bot commented Jun 16, 2021

This issue has been automatically closed because it has not had recent activity. If the reported issue persists, please create a new issue and link back to this one for reference. Thank you for your contributions.

@stale stale bot closed this as completed Jun 16, 2021
@jessebrightman
Copy link

We too have encountered this issue. There are some tutorials online showing that the Attachments dropdown would show on the Direct to Contact Email Modal but as of v 4.4.9, sadly, it does not show. We are also currently using text links on the body to link to the Asset but would prefer to use the Attachment dropdown. I am available to help troubleshoot if we could get this opened back up. Thanks.

Copy link
Sponsor Member

Thanks for being willing to troubleshoot, can you try to reproduce it on Mautic 5 please? Instructions can be found at https://mau.tc/tester.

@RCheesley RCheesley reopened this Nov 24, 2023
@stale stale bot removed the stale Issues which have not received an update within 90 days label Nov 24, 2023
Copy link

stale bot commented Mar 13, 2024

This issue or PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you would like to keep it open please let us know by replying and confirming that this is still relevant to the latest version of Mautic and we will try to get to it as soon as we can. Thank you for your contributions.

@stale stale bot added the stale Issues which have not received an update within 90 days label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues or PR's relating to bugs contacts Anything related to contacts email Anything related to email email-integrations Anything related to integrations with mail providers. Plugins have a separate label! stale Issues which have not received an update within 90 days T1 Low difficulty to fix (issue) or test (PR)
Projects
None yet
Development

No branches or pull requests

7 participants