info-gnus-english
[Top][All Lists]
Advanced

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

Re: How to pass a space character as an argument to a function already q


From: Benjamin L. Russell
Subject: Re: How to pass a space character as an argument to a function already quoted as an argument to another function?
Date: Thu, 10 Sep 2009 19:11:55 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt)

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Fri, 04 Sep 2009 22:25:14 +0900 DekuDekuplex@Yahoo.com (Benjamin L. 
> Russell) wrote: 
>
> BLR> Does anybody know how to pass " " (a space string) as an argument to
> BLR> "mailer-app-args" for "message-send-with-sendmail"?
>
> Just a stab in the dark: have you tried "' '"?

Where should it be specified, though?

In response, first I tried the following in my ~/.gnus.el file:

--8<---------------cut here---------------start------------->8---
(setq send-mail-function 'smtpmail-send-it)

(setq message-send-mail-function 'smtpmail-send-it)

(setq mailer-app message-send-mail-function)

(setq mailer-app-args "' '")

(if (equal system-type 'windows-nt)
    (setq sendmail-program "c:/cygwin/usr/sbin/ssmtp.exe"))

(setq smtp-default-smtp-server "smtpserver")

(require 'smtpmail)

(setq starttls-use-gnutls t)

; (setq starttls-gnutls-program "c:/Program 
Files/GnuTLS-2.9.3/bin/gnutls-cli.exe")

(setq starttls-gnutls-program "c:/usr/bin/gnutls-cli.exe")

;; Configure outbound mail (SMTP)
; (setq smtpmail-starttls-credentials '(("plus.smtp.mail.yahoo.com" 587 nil 
nil))
(setq smtpmail-starttls-credentials '(("plus.smtp.mail.yahoo.com" 465 nil nil))
      smtpmail-smtp-server "plus.smtp.mail.yahoo.com"
      smtpmail-default-smtp-server "plus.smtp.mail.yahoo.com"
      send-mail-function 'smtpmail-send-it
;       send-mail-function 'message-send-mail-with-sendmail
      message-send-mail-function 'smtpmail-send-it
;       message-send-mail-function 'message-send-mail-with-sendmail      
;       smtpmail-smtp-service 587
      smtpmail-smtp-service 465
      smtpmail-auth-credentials '(("plus.smtp.mail.yahoo.com"
;                                  587
                                   465
                                   "dekudekuplex@yahoo.com"
                                   nil)))
--8<---------------cut here---------------end--------------->8---

However, /usr/sbin/ssmtp.exe then failed with the following error
message:

--8<---------------cut here---------------start------------->8---
Sending via mail...
No STARTTLS program was available (tried 'c:/usr/bin/gnutls-cli.exe')
smtpmail-send-command: Process SMTP not running
--8<---------------cut here---------------end--------------->8---

Accordingly, I then switched gnutls-cli.exe programs in my ~/.gnus.el file
settings from the Cygwin version to the native Windows version, as
follows:

--8<---------------cut here---------------start------------->8---
(setq starttls-gnutls-program "c:/Program 
Files/GnuTLS-2.9.3/bin/gnutls-cli.exe")

; (setq starttls-gnutls-program "c:/usr/bin/gnutls-cli.exe")
--8<---------------cut here---------------end--------------->8---

However, that test failed as well, with the following error message:

--8<---------------cut here---------------start------------->8---
Sending via mail...
Opening STARTTLS connection to `plus.smtp.mail.yahoo.com:465'...done
smtpmail-send-command: writing to process: invalid argument, SMTP
--8<---------------cut here---------------end--------------->8---

Accordingly, to test the arguments to smtpmail-send-command, I then
commented out the settings for mailer-app-args in my ~/.gnus.el file, as
follows:

--8<---------------cut here---------------start------------->8---
; (setq mailer-app-args "' '")
--8<---------------cut here---------------end--------------->8---

However, that test failed as well, with an identical error message,
apparently indicating that the arguments were not even being read
correctly.

Any ideas on where to specify the arguments?

-- Benjamin L. Russell
-- 
Benjamin L. Russell  /   DekuDekuplex at Yahoo dot com
http://dekudekuplex.wordpress.com/
Translator/Interpreter / Mobile:  +011 81 80-3603-6725
"Furuike ya, kawazu tobikomu mizu no oto." -- Matsuo Basho^ 


reply via email to

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