You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using add_file, I have many recipients that are saying they did not receive the attached file. The attachment appears in the sent file on my gmail server. It appears that gmail accounts and certain other mail providers receive attachments fine, because when testing I did not encounter any problems. One recipient forwarded the email to another account and was able to open the attachment. Here is my code, perhaps someone can make sense of this.
require'csv'require'gmail'Gmail.new('email','password')do |gmail|
CSV.foreach("/Users/teacher/Desktop/merge.csv")do |row|
gmail.deliverdotorow[5]subject"Report for #{row[1]}#{row[0]}"html_partdocontent_type'text/html; charset=UTF-8'body"html body"endadd_filerow[4]endendend
The text was updated successfully, but these errors were encountered:
Using add_file, I have many recipients that are saying they did not receive the attached file. The attachment appears in the sent file on my gmail server. It appears that gmail accounts and certain other mail providers receive attachments fine, because when testing I did not encounter any problems. One recipient forwarded the email to another account and was able to open the attachment. Here is my code, perhaps someone can make sense of this.
The text was updated successfully, but these errors were encountered: