# Net::SMTPFatalError 555 5.5.2 Syntax error a8sm19427994poa

**URL:** <https://www.ruby-forum.com/t/net-smtpfatalerror-555-5-5-2-syntax-error-a8sm19427994poa/88649>\
**Category:** Rails\
**Created:** [March 13, 2007, 10:58am UTC](https://www.ruby-forum.com/t/net-smtpfatalerror-555-5-5-2-syntax-error-a8sm19427994poa/88649 "2007-03-13T10:58:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abon](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/45deac/32.png) [@abon](https://www.ruby-forum.com/u/abon)\
**Post date:** [March 13, 2007, 10:58am UTC](https://www.ruby-forum.com/t/net-smtpfatalerror-555-5-5-2-syntax-error-a8sm19427994poa/88649/1 "2007-03-13T10:58:34Z")

</div>

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](http://xxx/bt/show/<%=@bt.id%>)

By PickIt

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

THanks

Abon
