Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send mail: error: Found argument '-o' which wasn't expected, or isn't valid in this context #52

Open
vbmithr opened this issue Jul 25, 2023 · 5 comments · May be fixed by #55
Open

send mail: error: Found argument '-o' which wasn't expected, or isn't valid in this context #52

vbmithr opened this issue Jul 25, 2023 · 5 comments · May be fixed by #55

Comments

@vbmithr
Copy link

vbmithr commented Jul 25, 2023

error: Found argument '-o' which wasn't expected, or isn't valid in this context

	If you tried to supply `-o` as a value rather than a flag, use `-- -o`

USAGE:
    mujmap [OPTIONS] <SUBCOMMAND>

For more information try --help

Now my emacs seems to want -o ? :(

@vbmithr vbmithr changed the title error: Found argument '-o' which wasn't expected, or isn't valid in this context send mail: error: Found argument '-o' which wasn't expected, or isn't valid in this context Jul 25, 2023
@vbmithr
Copy link
Author

vbmithr commented Aug 2, 2023

Actually the issue is that emacs (as of 29.1) does not honor parameters message-sendmail-extra-arguments for some reason. Am I the only one to have this issue?

@wesnel
Copy link

wesnel commented Aug 5, 2023

hi @vbmithr! not sure if this is relevant, but i was just curious: what value are you using for message-send-mail-function?

@vbmithr
Copy link
Author

vbmithr commented Aug 6, 2023

I use

message--default-send-mail-function
        Use the setting of ‘send-mail-function’ if applicable.

i.e. the default setting

@vbmithr
Copy link
Author

vbmithr commented Aug 6, 2023

Apparently, setting this function to a non-default value (send with sendmail) fixes the thing! Thank you very much!

Since it is not a mujmap function, this should be closed, but a note in the README.md must be added about the necessity of setting message-send-mail-function to avoid other people loosing time on this!

wesnel added a commit to wesnel/mujmap that referenced this issue Aug 9, 2023
@wesnel
Copy link

wesnel commented Aug 9, 2023

Apparently, setting this function to a non-default value (send with sendmail) fixes the thing! Thank you very much!

Since it is not a mujmap function, this should be closed, but a note in the README.md must be added about the necessity of setting message-send-mail-function to avoid other people loosing time on this!

nice, i'm glad you figured that out! i also had to set mine to message-send-mail-with-sendmail in order to get things working. i have opened a pull request #55 which edits the README to mention this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants