help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I get attachments to stick and actually be sent with an emai


From: Sharon Kimble
Subject: Re: How can I get attachments to stick and actually be sent with an email using 27.0.91?
Date: Sat, 20 Jun 2020 12:40:17 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> I've just spent a frustrating 20 minutes trying to attach a pdf file to
>> an email to be sent with the email itself. I've tried attaching a file,
>> attaching a buffer, and also attaching an external pdf file. None of
>> them were successful, so how can I do it please?
>
> I do
>
>     M-x *-att-fil RET
>
> which completes to `mml-attach-file`.
>

Thanks Stefan.

I've been trying this again and I've now got an error report which says -

- --8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (void-function mm-substring-no-properties)
  (mm-substring-no-properties file)
  (mml-insert-empty-tag 'part 'type type 'filename (mm-substring-no-properties 
file) 'disposition (or disposition "attachment") 'description description)
  (let ((head (if (and (message-in-body-p) (not mml-attach-files-at-end)) nil 
(point)))) (if (or head mml-attach-files-at-end) (goto-char (point-max))) 
(mml-insert-empty-tag 'part 'type type 'filename (mm-substring-no-properties 
file) 'disposition (or disposition "attachment") 'description description) (or 
(eq mail-user-agent 'message-user-agent) (setq mail-encode-mml t)) (if (or head 
mml-attach-files-at-end) (progn (if (pos-visible-in-window-p) nil (message "The 
file \"%s\" has been attached at the end of the ..." (file-name-nondirectory 
file))) (goto-char head))))
  mml-attach-file("/home/boudiccas/.emacs.d/attachments/land-registry..." 
"application/pdf" "charge 1" "attachment")
  funcall-interactively(mml-attach-file 
"/home/boudiccas/.emacs.d/attachments/land-registry..." "application/pdf" 
"charge 1" "attachment")
  call-interactively(mml-attach-file nil nil)
  command-execute(mml-attach-file)
- --8<---------------cut here---------------end--------------->8---
      
So how can I get round this please, as my lisp knowledge or/and skills could 
easily be bettered by a goldfish?

Thanks
  Sharon.  
- -- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.2, fluxbox 1.3.7, emacs 27.0.91, org 9.3.7
-----BEGIN PGP SIGNATURE-----

iQJPBAEBCgA5FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAl7t9aYbHGJvdWRpY2Nh
c0Bza2ltYmxlLnBsdXMuY29tAAoJEDaBgBkK+INbOQEQAMUEcttm9/+DNVtDX5l7
M7IAu0wccGC7ni9/b7CtUSd0/rRa+RTitc66jsdaoWjTJqw0NkIphJsenWD9wV6Q
SdnSEUmkxabZDR16sMgtCK0B50+jh/SOTqtgKch9ql85gGs1RHmGLJD8JhUmAIgl
RfDlhyxswJtyv6TUuxTEyLYNzibsesgNpFKZcTSef1MHN61utn3apMn/Tik6l7dZ
tXQpjIQqXJUMXJf1KyzU//cXPGjLT7c6HDTK4mPzE8iKAlkEZp2XpPlxDQyhvUYJ
ElWMY+GnDfES494K/xk87QXU+t+5C9KEjJm4UL4hB9IjfAl+LWMH6fwYS0QRjEJF
R1ybqs5LnZVQm/Pp9A8W7lWwoTD3Vamb6YoGrrLx12Q1tyOjd0aIQ7dpxMyMfL0D
rRXW63gueDa97ovNCEeZ8Nz+P5T2evSMdqbFm2bCL+0qfiDaMQyPHB2S/9i3cdyO
BOgRhB9SgjfG3II3dYs7BnJ6tBHCNXpRGbVSVGqo8Q76cYIo/yuztVCmJKIOqfrz
+T0IWv1ao/73hIChKDxmwvYUoF+VKIN6ESxHkS00GfBW3qFkNUHUYk+U9Z0LETHa
TmCC/zIa4ts8VowHBdRF6ma48Qbhlrpz1bGsBeFdn9f96IWfNOVvpSh9r4ke+4Gh
jCdVfKfwJChly7sz7Ae+1BFP
=QMXX
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]