+ Reply to Thread
Results 1 to 4 of 4

Issues programatically adding an attachment to an email in thunderbird.

  1. #1
    Registered User
    Join Date
    10-19-2020
    Location
    Bristol, England
    MS-Off Ver
    365 (& 2013)
    Posts
    89

    Issues programatically adding an attachment to an email in thunderbird.

    Hi,

    I've seen a similar issue on here, but it doesnt quite fix my issue. https://www.excelforum.com/excel-pro...using-vba.html

    I'm finding the current folder by using the workbook path, then using that folder to attach the file, but it's choping the string short.


    This is a merging of code from multiple sources & a wip so please dont shoot me for it being a bit messy

    If the folder doesnt have " - " in the folder name the code runs fine... but as soon as it hits that it trims the string.

    so the example attachment name is X:\- Job Number\9999 - bens new company - home - Aluminium\Quotation\9999 Steel BOM.xlsm

    The error is it cant find attachment X:\- Job Number\9999

    I cant double speech mark the address as I dont have it written out in the code, I only have it saved as a variable.

    Anyone got any suggestions?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    08-17-2007
    Location
    Poland
    Posts
    2,545

    Re: Issues programatically adding an attachment to an email in thunderbird.

    I'm not sure because I never had Thunderbird, but try to replace the macro end in this way:
    Please Login or Register  to view this content.
    Artik

  3. #3
    Registered User
    Join Date
    10-19-2020
    Location
    Bristol, England
    MS-Off Ver
    365 (& 2013)
    Posts
    89

    Re: Issues programatically adding an attachment to an email in thunderbird.

    Perfect solution, thankyou.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,796

    Re: Issues programatically adding an attachment to an email in thunderbird.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] VBA Email using Mozilla Thunderbird
    By Bronx in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-26-2019, 01:04 AM
  2. Lotus Notes - EMAIL With Attachment - performance and activex Issues
    By Ravisca2003 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-23-2018, 01:53 AM
  3. Adding attachment to Lotus Notes email VBA
    By Ironman in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-03-2013, 12:25 PM
  4. adding attachment which name is the email address
    By JacksonBoss in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-15-2013, 09:44 AM
  5. Sending Email Thru Thunderbird and Outlook
    By albert28 in forum Excel General
    Replies: 7
    Last Post: 07-14-2010, 07:53 AM
  6. Adding email attachment in Macro
    By Kevin K. Chlipa in forum Excel General
    Replies: 1
    Last Post: 11-30-2008, 03:23 PM
  7. email from excel w/ thunderbird?
    By davep1553 in forum Excel General
    Replies: 3
    Last Post: 06-04-2006, 06:50 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1