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

Using ø in subject throws a waring in smpt_send #287

Open
alofting opened this issue May 28, 2022 · 0 comments
Open

Using ø in subject throws a waring in smpt_send #287

alofting opened this issue May 28, 2022 · 0 comments

Comments

@alofting
Copy link

The problem is in the header_unstructured() function. sprintf seems to have an unnecessary parameter 0.

library(blastula)
blastula:::header_unstructured('ø' , "Subject", encode_unicode = TRUE)
#> Warning in sprintf("=?utf-8?B?%s?=", base64enc::base64encode(charToRaw(str)), :
#> one argument not used by format '=?utf-8?B?%s?='
#> [1] "=?utf-8?B?w7g=?="

Created on 2022-05-28 by the reprex package (v2.0.1)

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

No branches or pull requests

2 participants