Skip to content

rApache notice! *** stack smashing detected *** with mailR::send_mail #52

@alexvpickering

Description

@alexvpickering

To reproduce, get rApache to run a script with the following:

mailR::send.mail(
         from = '',
          to = "",
          replyTo = "",
          subject = "Subject of the email",
          body = "Body of the email",
          smtp = list(host.name = '',
                      port = 25,
                      user.name = '',
                      passwd = '',
                      ssl = TRUE),
          authenticate = TRUE,
          send = TRUE)

To get Amazon SES credentials (what I used) go here.
You'll have to verify an email address for to, replyTo, and from (can all be the same) here.

mailR uses rJava so you may have to edit /etc/apache2/envvars as described in #47.

I personally got around the issue by using the aws.ses package instead, but thought it might be useful to post the issue in case it has broader implications.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions