Displaying 1 result from an estimated 1 matches for "thismail".
Did you mean:
thisemail
2006 May 31
1
mailer - from address not being set
I''m having a weird problem with a mailer model. The from address
doesn''t seem to be set - my mail logs it shows that the sender address
is the default www@my.server.hostname and this causes the mail to
bounce.
The mailer code looks like this:
def thismail
@subject = "Subject"
@recipients = "toemail@address.com"
@from = "myemail@address.com"
# rest of code
end
The weird thing is, the development log shows the correct details...
---------
Sent mail:
From: myemail@address.com
To: toemail@address.com
----...