我试图找出如何在Rails中使用Gibbon gem自动将订阅者添加到MailChimp中的特定兴趣组?
我发现这篇文章详细介绍了非Rails方法:http://roman.tao.at/uncategorized/mailchimp-api-listsubscribe-listbatchsubscribe-and-groups/
我想弄清楚如何使用Gibbon gem实现该功能:https://github.com/amro/gibbon
仅供参考,我也是MailChimp和Rails的新手.
rubygems ruby-on-rails mailchimp ruby-on-rails-3 ruby-on-rails-3.1
我一直在努力设计一个HTML电子邮件,由于某种原因它在MailChimp/Chrome/GMail中看起来很棒,但在Outlook中,列被拉伸并且看起来很糟糕(见截图).我对HTML不太满意,并且我试图将几个max-width参数更改为600px而不是100%,但没有成功.
我希望这封电子邮件总是600px宽.
任何帮助是极大的赞赏.

^它在Chrome/Gmail中的外观

^它在Outlook中看起来如何(顶部蓝色部分是600px,而其余部分是拉伸的)
这是我正在使用的HTML代码:
<style type="text/css">
#outlook a{
padding:0;
}
body{
width:600 !important;
}
.ReadMsgBody{
width:100%;
}
.ExternalClass{
width:100%;
}
body{
-webkit-text-size-adjust:none;
}
body{
margin:0;
padding:0;
}
img{
height:auto;
line-height:100%;
outline:none;
text-decoration:none;
}
#backgroundTable{
height:100% !important;
margin:0;
padding:0;
width:100% !important;
}
body,#backgroundTable{
background-color:#314A66;
}
h1,.h1{
color:#FFFFFF;
display:block;
font-family:Verdana;
font-size:26px;
font-weight:bold;
line-height:100%;
margin-top:0;
margin-right:0;
margin-bottom:10px;
margin-left:0;
text-align:center;
}
h2,.h2{
color:#0E385F;
display:block;
font-family:Verdana;
font-size:22px;
font-weight:bold;
line-height:100%;
margin-top:0;
margin-right:0;
margin-bottom:10px;
margin-left:0;
text-align:left;
}
h3,.h3{
color:#0E385F;
display:block;
font-family:Verdana;
font-size:20px;
font-weight:bold;
line-height:100%;
margin-top:0; …Run Code Online (Sandbox Code Playgroud)