fix non-functioning smtpmail config`
This commit is contained in:
parent
4eea3f9d46
commit
a3893fc061
|
|
@ -15,6 +15,7 @@ scheduling, and loads of other stuff
|
|||
|
||||
* Font Setup
|
||||
Set different types of fonts for differents elements of Org-mode files, like variable pitch for regular text, and fixed pitch for code blocks
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(defun org-config-font-setup ()
|
||||
"set org mode element fonts"
|
||||
|
|
|
|||
|
|
@ -10,10 +10,10 @@
|
|||
:strike-through nil :overline nil :underline nil
|
||||
:slant normal :weight normal
|
||||
:height 100 :width normal
|
||||
:foundry "CTDB" :family "IBM Plex Mono"))))
|
||||
'(fixed-pitch ((t (:family "IBM Plex Mono"))))
|
||||
'(fixed-pitch-serif ((t (:family "IBM Plex Mono"))))
|
||||
'(variable-pitch ((t (:inherit default :weight regular :family "IBM Plex Sans")))))
|
||||
:foundry "CTDB" :family "Source Code Pro"))))
|
||||
'(fixed-pitch ((t (:family "Source Code Pro"))))
|
||||
'(fixed-pitch-serif ((t (:family "Source Code Pro"))))
|
||||
'(variable-pitch ((t (:inherit default :weight regular :family "Cantarell")))))
|
||||
#+end_src
|
||||
|
||||
** Chinese Font
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ Tell gnus to read ~gnus.el~ from the config dir.
|
|||
other configuration on gnus is on the ~gnus.el~ file.
|
||||
|
||||
* RMail Config
|
||||
Even though Gnus is used as the main E-Mail reader, Rmail is also setup as a backup mail reader incase gnus became unused
|
||||
Even though Gnus is used as the main E-Mail reader, Rmail is also setup as a backup mail reader incase gnus became unusable
|
||||
|
||||
** Dependencies
|
||||
Since RMail is only a Mail Reader, E-Mails needs to be fetched using external programs.
|
||||
|
|
@ -48,6 +48,12 @@ And those external programs are;
|
|||
#+end_src
|
||||
|
||||
* SMTP Mail Config
|
||||
** Call required features
|
||||
#+begin_src emacs-lisp
|
||||
(require 'smtpmail)
|
||||
(require 'starttls)
|
||||
#+end_src
|
||||
|
||||
** Set Emacs' built in SMTP mail sender method
|
||||
#+begin_src emacs-lisp
|
||||
(setq send-mail-function 'smtpmail-send-it)
|
||||
|
|
|
|||
Loading…
Reference in New Issue