Displaying 8 results from an estimated 8 matches for "recipient_id".
2010 Nov 11
2
Rails 3 - Nested Forms, using Builder -- Check_box issue
Hello, I have the following:
My Controller:
def new
.
.
@teammembers.each do |teammember|
request = @request_thread.requests.build(:recipient_id =>
teammember.user_id, :full_name => ''Billy Bob T'')
end
My View:
.
.
<%= f.fields_for :requests do |builder| %>
<div class="field">
<%= builder.label :full_name %>
<%= builder.check_box :recipient_id, :checked => false %&g...
2011 Feb 16
1
test emails did not arrive at SMTP server : after dovecot installation
...have a firewall
rule
which permits Tcp25 from those few sending domains' SMTP servers) using
an email client to sender_id@[IP_address_of_the_postfix_server] & the
/var/log/maillog on the postfix server indicated the email arrives at the
postfix
server (with some errors though) :
# grep recipient_id /var/log/maillog*
maillog:Feb 15 11:41:52 hostname postfix/smtpd[6891]: NOQUEUE: reject: RCPT
from gate1.mds.com.sg[203.126.130.157]: 554 5.7.1
<recipient_id@[202.6.163.31]>:
Relay access denied; from=<prvs=020cae8c4=recipient_id at mds.com.sg>
to=<recipient_id@[202.6.163.31]> pro...
2005 Dec 19
4
need some help designing my messaging system
I am trying to create a messaging system for my users but I''m having a
hard time designing my db. This is what i have in mind, but I am not
sure if its the best approach.
user has_one inbox
user has_one outbox
inbox has_many messages
outbox has_many messages
inbox table
user_id
outbox table
user_id
messages table
box_id (refers to either inbox or outbox - how?)
from_id
to_id
2006 Jan 21
3
need some help designing my threaded messaging system
Hi,
I want to create a messaging system that recognizes threads of messages, not
unlike gmail.
So far I have these models:
Conversation
belongs_to :user
has_many :messages
Message
belongs_to :conversation
The problem I am running into is not only does a conversation belong to a
user but the conversation also has a receipient user with his/her
corresponding conversation. How would I
2007 Dec 13
16
"Tricks" for testing after_create callback???
...amps assigned as it''s saved.
Spec::Mocks::MockExpectationError in ''Message from anyone should be
sent on save''
Mock ''Class'' expected :deliver_secret_santa with (#<Message id: nil,
subject: "Subj", body: "hi", sender_id: 343839476, recipient_id:
21341157, message_type: nil, created_at: nil, updated_at: nil>) but
received it with (#<Message id: 1, subject: "Subj", body: "hi",
sender_id: 343839476, recipient_id: 21341157, message_type: nil,
created_at: "2007-12-12 21:53:16", updated_at: "2007-12-12 2...
2006 May 05
1
ActionMailer with attachments, body is blank
...t" (the variable
holding the text of my mailer). However, if @ma is empty, it sees
@mycontent just fine. Suggestions?
Here is my mailer class:
class MarketingMailer < ActionMailer::Base
def standard_mailer
(_firstname,recipient,_subject,from_name,from_email,_content,_mailer_id,
_recipient_id,sent_at = Time.now)
@mailer = Mailer.find(_mailer_id)
@ma = @mailer.mailerattachments
@subject = _subject
@recipients = recipient
@from = from_name + " <" + from_email + ">"
@sent_on = sent_at
@headers[''X-Mailer''] = &...
2005 Nov 21
2
Multiple user_id columns
I have a table called ''users''. I have a second table called ''comments''.
The comments table is in need of _two_ columns that both reference
different user ids within the ''users'' table (one column for the user id
that originated the post, another column for the user id for which the
message is intended for.
Obviously I can''t create
2011 Feb 21
2
Rejected mails
...test, it gave
Rejected :
http://legacy.zoneedit.com/whois.html
OK, connected to gate1.mds.com.sg...
< 220 gate1.mds.com.sg ESMTP
> HELO edit.dnsvr.com
< 250 gate1.mds.com.sg
> MAIL FROM:<sender_id at mds.com.sg>
< 250 sender <sender_id at mds.com.sg> ok
> RCPT TO:<recipient_id at myportaltech.com>
< 550 #5.1.0 Address rejected.
The recipient_id is basically a Linux OS id in my SMTP server.
Would this work or I'll need to have virtual domain ids ?
=================== latest maillog ======================
Feb 21 16:36:34 hostname postfix/smtpd[1372]: input att...