There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

jindam_vani OP ,
@jindam_vani@lemmy.world avatar

this code is for one [ my ] email id only

replace my email id, smtp, etc…

code is available also @_ lists.gnu.org/archive/html/…/msg00142.html

~ /.emacs


<span style="color:#323232;">;; pop3
</span><span style="color:#323232;">
</span><span style="color:#323232;">(require 'smtpmail)
</span><span style="color:#323232;">(require 'rmail)
</span><span style="color:#323232;">
</span><span style="color:#323232;">(setq user-mail-address "[email protected]") 
</span><span style="color:#323232;">(setq user-full-name "జిందం వాఐి") 
</span><span style="color:#323232;">(setq smtpmail-smtp-user "[email protected]"    
</span><span style="color:#323232;">          smtpmail-smtp-server "smtp.mail.ru" 
</span><span style="color:#323232;">           smtpmail-smtp-service 465 
</span><span style="color:#323232;">           smtpmail-stream-type 'ssl)
</span><span style="color:#323232;">
</span><span style="color:#323232;">(setq
</span><span style="color:#323232;">     rmail-preserve-inbox 1                     ; Don't delete mail from server
</span><span style="color:#323232;">     rmail-mail-new-frame 1                     ; Compose in a full frame
</span><span style="color:#323232;">     rmail-delete-after-output 1                ; Delete original mail after copying
</span><span style="color:#323232;">     rmail-mime-prefer-html nil                 ; Prefer plaintext when possible
</span><span style="color:#323232;">     rmail-file-name   "~/mail/inbox"           ; The path to our inbox file
</span><span style="color:#323232;">     rmail-secondary-file-directory "~/mail"    ; The path to our other mbox files
</span><span style="color:#323232;">     message-default-headers "Fcc: ~/mail/sent") ; Copy sent mail to the "sent" file
</span><span style="color:#323232;">
</span><span style="color:#323232;">;; Debug
</span><span style="color:#323232;">(setq smtpmail-debug-info t)
</span><span style="color:#323232;">(setq smtpmail-debug-verb t)
</span><span style="color:#323232;">
</span><span style="color:#323232;">;; html
</span><span style="color:#323232;">(setq
</span><span style="color:#323232;"> shr-use-fonts nil  ; Don't load fancy fonts
</span><span style="color:#323232;"> shr-indentation 2  ; A left-margin of 2 columns
</span><span style="color:#323232;"> shr-use-colors nil ; Don't load special colors
</span><span style="color:#323232;"> shr-width 32       ; Fix width to 70 columns
</span><span style="color:#323232;"> shr-bullet "• ")   ; A bullet character for <li> elements
</span><span style="color:#323232;">
</span><span style="color:#323232;">;; tls
</span><span style="color:#323232;">(setq rmail-movemail-flags "--tls")
</span><span style="color:#323232;">
</span><span style="color:#323232;">;; Use Mail mode to compose messages (default)
</span><span style="color:#323232;">(setq mail-user-agent 'sendmail-user-agent)
</span><span style="color:#323232;">
</span><span style="color:#323232;">;; If you're using rmail
</span><span style="color:#323232;">(setq read-mail-command 'rmail)
</span><span style="color:#323232;">
</span><span style="color:#323232;">;;(setq rmail-primary-inbox-list
</span><span style="color:#323232;">&nbsp; ;;&nbsp; &nbsp; (cons (concat "pop3://"
</span><span style="color:#323232;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;;&nbsp; &nbsp; &nbsp; "[email protected]"
</span><span style="color:#323232;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;;&nbsp; &nbsp; &nbsp; "@pop.mail.ru") nil))
</span><span style="color:#323232;">
</span><span style="color:#323232;">(setq
</span><span style="color:#323232;">;; The mail URL, specifying a remote mail account
</span><span style="color:#323232;">;; (Omit this to read from /var/mail/user)
</span><span style="color:#323232;">rmail-primary-inbox-list
</span><span style="color:#323232;">  '("pops://[email protected]@pop.mail.ru"))
</span><span style="color:#323232;">```</li>
</span>
  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines