Net::SMTPFatalError 555 5.5.2 Syntax error a8sm19427994poa


#1

Hi,

I’ve sent e-mails with action mailer in other controllers.
Now I’m repeating the same trick to send emails.
I have

def bt_notify( bt )
@recipients = bt.product.user
@body[“product”]=bt.product
@body[“bt”]=bt
@from = “removed_email_address@domain.invalid”
@subject = “blahblah”
end

in my mailer.rb

and
Mailer.deliver_bt_notify(@bt)

in the controller

finally the bt_notify.rhtml

<%=@product.title%>
here

By PickIt

And when mailer.deliver_bt_notify is executed, it got the error as
title.
Anyone knows what’s wrong?

THanks

Abon