Specify to and from
This commit is contained in:
@@ -23,12 +23,15 @@ module Adamantium
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
Mail.deliver do
|
mail = Mail.new do
|
||||||
to @to
|
|
||||||
from @username
|
|
||||||
subject name
|
subject name
|
||||||
body content
|
body content
|
||||||
end
|
end
|
||||||
|
|
||||||
|
mail[:to] = @to
|
||||||
|
mail[:from] = @from
|
||||||
|
|
||||||
|
mail.deliver
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user