Forums » Development »
Added by Adnen Mass over 11 years ago
I want to send email from a local server (eg to this adress "admin@admin.com" ):
@nouvelle_remarque = Remarque.new
@nouvelle_remarque = Remarque.create(:project_id => @project.id ,
:version_id => params[:version] ,
:numero => params[:numero] ,
:phase => params[:phase] )
if @nouvelle_remarque.save
flash[:notice] ="ok" # ....... code of sending a new mail
else
flash[:error] ="ko"
end
thanks for help :-)
Can you elaborate a bit, I don't unterstand what you're trying to do.