mirror of
https://github.com/SuiteCRM/SuiteCRM.git
synced 2026-03-02 19:16:58 -05:00
"Send PDF via email" only send the email without the attached PDF #5043
Labels
No labels
Area: API
Area: Campaigns
Area: Cases
Area: Clean Up
Area: Clean Up: Performance
Area: Dashlets
Area: Databases
Area: Developer Tools
Area: Elasticsearch
Area: Elasticsearch
Area: Emails
Area: Emails:Campaigns
Area: Emails:Cases
Area: Emails:Compose
Area: Emails:Config
Area: Emails:Templates
Area: Environment
Area: Installation
Area: Language
Area: Mobile
Area: Module
Area: PDFs
Area: PHP8
Area: Reports
Area: Studio
Area: Styling
Area: Upgrading
Area: Workflow
Area:Activity Stream
Area:Calls
Area:Import
Area:Projects
Area:Search
Area:Surveys
Area:Themes
Area:Users
Branch:Hotfix
Good First Issue
Hacktoberfest
Help Wanted
PR:Community Contribution
PR:Type:Enhancement
Priority:Critical
Priority:Important
Priority:Moderate
Severity: Major
Severity: Minor
Severity: Moderate
Status: Requires Code Review
Status: Requires Updates
Status: Stale
Status: Team Investigating
Status:Assessed
Status:Fix Proposed
Status:Needs Assessed
Status:Requires Automated Tests
Type: Bug
Type:Deprecated
Type:Discussion
Type:Duplicate
Type:Invalid
Type:Question
Type:Suggestion
Type:Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SuiteCRM-SuiteCRM#5043
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @car1inux on GitHub (Jul 19, 2023).
Page with Issue
http://mywebsite/index.php?module=AOS_Contracts&action=DetailView&record=9c2c08e1-2cf8-f9f2-82a3-6363efb0cd17
What is wrong, less clear, or missing
SugarPHPMailer encountered an error: Could not access file: upload/d847a76e-89b7-567d-48fa-64b8129219e8
because the file is saved in the root directory instead of /upload
Proposed fixes and/or additions
Please add "/" in the filename between "upload" and the filename
Your Environment
@johnM2401 commented on GitHub (Aug 4, 2023):
Hey!
Thank you for getting in touch.
I've given this a try, but I can't seem to replicate I'm afraid.
For example, I have a few items in the Upload directory:

If I then send a new PDF via Contract->Email PDF action, a new item appears:

As well as seeing it in my Email client:

Would you perhaps have any specific steps to replicate this issue?
I would recommend checking that your CRM's file/folder permissions are set correctly
As well as ensuring your CRM's
site_url(in config.php) is correctAnd ensuring that your
.htaccesshas the correct RewriteBase@car1inux commented on GitHub (Aug 4, 2023):
Hi,
I have this problem only when sending the PDF via mail starting from a Quote.
In example I have no problem composing and sending a mail with attachments from scratch.
This is how you can replicate:
The mail is now sent.
The recipient received this email but without attachment.

This is the PDF saved on the disk, but not in the /upload directory due to an error in the filename