You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mail...@googlegroups.com
I am using the mail gem and I was curious if anyone knows how to setup custom headers. I am using Mailgun for sending email and I am trying to pass a custom variable to them via a header. I need to send over a header with the name "X-Mailgun-Variables" and a value that is a string. I can't seem to find any documentation on how to do this. My code is below:
mail = Mail.deliver do
to to
from "#{name} <#{from}>"
subject subject
bcc bcc_to
text_part do
body text
end
if user_has_signature
html_part do
content_type 'text/html; charset=UTF-8'
body html_text
end
end
Patrick Veverka
unread,
Apr 21, 2014, 7:06:03 PM4/21/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message