Am 24.02.26 um 18:10 schrieb [email protected]:
gfp <[email protected]> writes:



4. Attempt to send an email message to yourself by filling
     out the ‘To:’ field and some text for a message, and then
     typing C-c C-c.

If this generates errors and fails to send the email, then
copy the information about the key C-c C-c and the
mail-related options.  Some reader might then be able to
help resolve your problem.


 From (info "(gnus) FAQ 3-8")

    "OK, now you only need to tell Gnus how to send mail.  If you want to
     send mail via sendmail (or whichever MTA is playing the role of sendmail
     on your system), you don't need to do anything.  However, if you want to
     send your mail to an SMTP Server you need the following
     in your ‘~/.gnus.el’

      (setq send-mail-function 'smtpmail-send-it)
      (setq message-send-mail-function 'smtpmail-send-it)
      (setq smtpmail-default-smtp-server "smtp.yourProvider.net")

I put that in my gnus.el:

(setq send-mail-function 'smtpmail-send-it)
(setq message-send-mail-function 'smtpmail-send-it)
(setq smtpmail-default-smtp-server "smtp.yourProvider.net")

and now it works,
I can send a mail from gnus.
wonderful, thanks very much

but the buffer to send an email looks different since it didn´t work anymore, also now, when sending a mail. and bbdb does not work, after entering one letter, then TAB, to enter the whole address or to show all the possibilities.

Gottfried


That answer from the Gnus FAQ appears to be out of date.

    1. Starting with Emacs 29, the macro ‘setopt’ is
       recommended in place of ‘setq’ for user options
       (customizable variables, which have a ‘customize’
       button in their *Help* description).  This requires a
       simple change from ‘setq’ to ‘setopt’ in the
       expressions, above.  For more, see
         (info "(elisp) Setting Variables")

    2. The list of user options appears to be incomplete.
       The following set might be the minimum of options.
       See (info "(smtpmail) Emacs Speaks SMTP")

       (setopt send-mail-function 'smtpmail-send-it)
       (setopt message-send-mail-function 'smtpmail-send-it)
       (setopt smtpmail-smtp-server "Your.SMTP.Server") ;Set this value, a 
double-quoted string
       (setopt smtpmail-stream-type 'a-quoted-symbol or nil) ;C-h v 
smtpmail-stream-type
       (setopt smtpmail-smtp-service 587) ;Look up your port number
       (setopt smtpmail-default-smtp-server "Your.SMTP.Server") ;Again, your 
double-quoted string name

Try:
      1. Start Emacs with: emacs -Q
         This starts Emacs with no initialization code.

      2. Copy the six ‘setopt’ expressions, above, into the
         *scratch* buffer of the Emacs session that you just
         started.

      3. Fill in the appropriate values for your SMTP server.
         (Type C-h v on each option to get a description of
         each, as needed.)

      4. Assuming that your authentication has already be set
         appropriately in your ~/.authinfo file, you should
         be able to send an email message to yourself:
           C-x m

         For details on setting up your ~/.authinfo file,
         read (info "(smtpmail) Authentication")



Attachment: OpenPGP_0xD9E413C6C4BB32CE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

  • ... gfp
    • ... gfp
      • ... gfp
      • ... Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader (in English)
    • ... Nickolai Dobrynin

Reply via email to