Skip to Content Skip to Menu

[SOLVED] auto action plugin "email" does not send attachments

  • carin
  • carin
  • OFFLINE
  • Posts: 417
  • Thanks: 18
  • Karma: 0
10 years 4 months ago - 10 years 4 months ago #245903 by carin
I set up the plugin to send an email with an attachment. The email gets sent but the attachment is missing. I double checked that the pdf is on the server. What am I missing? How would I debug that?

CB 2.0
Last edit: 10 years 4 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 4 months ago - 10 years 4 months ago #245947 by krileon
There is not prefixing of live_site or absolute_path so you have to provide the exact path to the file. So you'll need to provide an example of how you're formatting the attachment URL for me to advise anything further. I believe it needs to be an absolute path as exampled below.

/home/user/private/my_file.pdf


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 10 years 4 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • carin
  • carin
  • OFFLINE
  • Posts: 417
  • Thanks: 18
  • Karma: 0
10 years 4 months ago - 10 years 4 months ago #245962 by carin
I just took the example from the description:

Optionally input substitution supported attachment absolute URL (e.g. /images/logo.png). Separate multiple attachments with a comma (e.g. /images/logo.png,/images/license.pdf).


... so I put in /images/license.pdf and upload license.pdf to the images folder and expect it to work that way. What do you mean by "prefixing of live_site" when the description says "/images/license.pdf"?

CB 2.0
Last edit: 10 years 4 months ago by carin.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
10 years 4 months ago #245966 by krileon
You need to specify from hosting root. The description needs to be updated to more clearly reflect that. Hosting root could be the below for example.

/home/user/www/images/license.pdf


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • carin
  • carin
  • OFFLINE
  • Posts: 417
  • Thanks: 18
  • Karma: 0
10 years 4 months ago #245974 by carin
With the hosting root prepended it works, thanks.

CB 2.0

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum