从 AOL 导入联系人时出错
我正在尝试将所有 AOL 电子邮件联系人导入到我的 Web 应用程序中。为此,我正在使用
我分叉代码 时给出的 cardmagic gem将以下代码替换
AOL_NUM = "29970-343" # this seems to change each time they change the protocol
CONTACT_LIST_URL = "http://webmail.aol.com/#{AOL_NUM}/aim-2/en-us/Lite/ContactList.aspx?folder=Inbox&showUserFolders=False"
CONTACT_LIST_CSV_URL = "http://webmail.aol.com/#{AOL_NUM}/aim-2/en-us/Lite/ABExport.aspx?command=all"
为
AOL_NUM = "32992-111" # this seems to change each time they change the protocol
CONTACT_LIST_URL = "http://mail.aol.com/#{AOL_NUM}/aol-6/en-us/Lite/ContactList.aspx?folder=Inbox&showUserFolders=False"
CONTACT_LIST_CSV_URL = "http://mail.aol.com/#{AOL_NUM}/aol-6/en-us/Lite/ABExport.aspx?command=all"
Still I am getting error
CSV::IllegalFormatError: CSV::IllegalFormatError
这是由于过时的 AOl_NUM 吗?或者 aol.rb 中还有更多变化吗? 谢谢。
I am trying to import all my AOL Email contacts in my web application. For that I am using cardmagic gem given at
I forked the code & replaced following code
AOL_NUM = "29970-343" # this seems to change each time they change the protocol
CONTACT_LIST_URL = "http://webmail.aol.com/#{AOL_NUM}/aim-2/en-us/Lite/ContactList.aspx?folder=Inbox&showUserFolders=False"
CONTACT_LIST_CSV_URL = "http://webmail.aol.com/#{AOL_NUM}/aim-2/en-us/Lite/ABExport.aspx?command=all"
with
AOL_NUM = "32992-111" # this seems to change each time they change the protocol
CONTACT_LIST_URL = "http://mail.aol.com/#{AOL_NUM}/aol-6/en-us/Lite/ContactList.aspx?folder=Inbox&showUserFolders=False"
CONTACT_LIST_CSV_URL = "http://mail.aol.com/#{AOL_NUM}/aol-6/en-us/Lite/ABExport.aspx?command=all"
Still I am getting error
CSV::IllegalFormatError: CSV::IllegalFormatError
Is this due to outdated AOl_NUM? or are there any more changes in the aol.rb?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我相信它应该有效。您是否在包含 gem 后执行了更新捆绑?执行
捆绑更新
并重新启动服务器。I believe it should work. Did you perform update bundle after including the gem? perform
bundle update
and restart your server.