Displaying 1 result from an estimated 1 matches for "unsubscribe_cod".
Did you mean:
unsubscribe_code
2009 Apr 23
8
how to avoid (Net::SMTPFatalError) "555 5.5.2 Syntax error
...ge],params[:title],params[:designation],params[:company],params[:id],@invitation.invitation_code)
this method , and in mass_notifier.rb
I fave written
def
forward_review_link(sender,recipients,message,title,designation,company,id,code)
return if UnsubscribedEmail.find_by_email(recipients)
@unsubscribe_code = MailingList.find_or_create_by_email(recipients)
if @unsubscribe_code.code.nil?
@unsubscribe_code.code = Digest::SHA1.hexdigest(
Time.now.to_s.split(//).sort_by {rand}.join )
@unsubscribe_code.save
end
@body[:unsubscribe_link] = "<a
href=''http://www.some...