జిందం వాఐి@lemmy.world to Linux@lemmy.mlEnglish · 1 year agonoob guide_ termux gnu rmail pop3 multiple email serversmessage-squaremessage-square1fedilinkarrow-up119arrow-down12file-text
arrow-up117arrow-down1message-squarenoob guide_ termux gnu rmail pop3 multiple email serversజిందం వాఐి@lemmy.world to Linux@lemmy.mlEnglish · 1 year agomessage-square1fedilinkfile-text
installed emacs and use rmail as email client for multiple pop3 email servers with [ gmail, yahoo, etc… ]. is there any good guide to setup rmail as email client on termux?
minus-squareజిందం వాఐి@lemmy.worldOPlinkfedilinkEnglisharrow-up1·edit-21 year agothis code is for one [ my ] email id only replace my email id, smtp, etc… code is available also @_ https://lists.gnu.org/archive/html/help-gnu-emacs/2023-09/msg00142.html ~ /.emacs ;; pop3 (require 'smtpmail) (require 'rmail) (setq user-mail-address "jindam@list.ru") (setq user-full-name "జిందం వాఐి") (setq smtpmail-smtp-user "jindam@list.ru" smtpmail-smtp-server "smtp.mail.ru" smtpmail-smtp-service 465 smtpmail-stream-type 'ssl) (setq rmail-preserve-inbox 1 ; Don't delete mail from server rmail-mail-new-frame 1 ; Compose in a full frame rmail-delete-after-output 1 ; Delete original mail after copying rmail-mime-prefer-html nil ; Prefer plaintext when possible rmail-file-name "~/mail/inbox" ; The path to our inbox file rmail-secondary-file-directory "~/mail" ; The path to our other mbox files message-default-headers "Fcc: ~/mail/sent") ; Copy sent mail to the "sent" file ;; Debug (setq smtpmail-debug-info t) (setq smtpmail-debug-verb t) ;; html (setq shr-use-fonts nil ; Don't load fancy fonts shr-indentation 2 ; A left-margin of 2 columns shr-use-colors nil ; Don't load special colors shr-width 32 ; Fix width to 70 columns shr-bullet "• ") ; A bullet character for <li> elements ;; tls (setq rmail-movemail-flags "--tls") ;; Use Mail mode to compose messages (default) (setq mail-user-agent 'sendmail-user-agent) ;; If you're using rmail (setq read-mail-command 'rmail) ;;(setq rmail-primary-inbox-list ;; (cons (concat "pop3://" ;; "jindam@list.ru" ;; "@pop.mail.ru") nil)) (setq ;; The mail URL, specifying a remote mail account ;; (Omit this to read from /var/mail/user) rmail-primary-inbox-list '("pops://jindam@list.ru@pop.mail.ru")) ```</li>
this code is for one [ my ] email id only
replace my email id, smtp, etc…
code is available also @_ https://lists.gnu.org/archive/html/help-gnu-emacs/2023-09/msg00142.html
~ /.emacs
;; pop3 (require 'smtpmail) (require 'rmail) (setq user-mail-address "jindam@list.ru") (setq user-full-name "జిందం వాఐి") (setq smtpmail-smtp-user "jindam@list.ru" smtpmail-smtp-server "smtp.mail.ru" smtpmail-smtp-service 465 smtpmail-stream-type 'ssl) (setq rmail-preserve-inbox 1 ; Don't delete mail from server rmail-mail-new-frame 1 ; Compose in a full frame rmail-delete-after-output 1 ; Delete original mail after copying rmail-mime-prefer-html nil ; Prefer plaintext when possible rmail-file-name "~/mail/inbox" ; The path to our inbox file rmail-secondary-file-directory "~/mail" ; The path to our other mbox files message-default-headers "Fcc: ~/mail/sent") ; Copy sent mail to the "sent" file ;; Debug (setq smtpmail-debug-info t) (setq smtpmail-debug-verb t) ;; html (setq shr-use-fonts nil ; Don't load fancy fonts shr-indentation 2 ; A left-margin of 2 columns shr-use-colors nil ; Don't load special colors shr-width 32 ; Fix width to 70 columns shr-bullet "• ") ; A bullet character for <li> elements ;; tls (setq rmail-movemail-flags "--tls") ;; Use Mail mode to compose messages (default) (setq mail-user-agent 'sendmail-user-agent) ;; If you're using rmail (setq read-mail-command 'rmail) ;;(setq rmail-primary-inbox-list ;; (cons (concat "pop3://" ;; "jindam@list.ru" ;; "@pop.mail.ru") nil)) (setq ;; The mail URL, specifying a remote mail account ;; (Omit this to read from /var/mail/user) rmail-primary-inbox-list '("pops://jindam@list.ru@pop.mail.ru")) ```</li>