search for: from_address

Displaying 5 results from an estimated 5 matches for "from_address".

2011 May 24
0
Rails 3.0.7 ActionMailer attachments
...l stores the name of the attachment and belongs to an Email. In the view there''s a simple form that allows an email address to forward the email to. That''s all working fine. It''s just the attachment part that I''m having troubles with. def forward_email(email_id, from_address, to_address) @email = Email.find(email_id) @recipients = to_address @from = from_address @subject = @email.subject @sent_on = Time.now @body = @email.body + "\n\n" @email.attachments.each do |file| if File.exist?(file.full_path) attachment :filen...
2008 Mar 17
2
Dynamic actions and views
Hi, I have a set of messages stored in the db. These are email messages that I have to send based on some condition. This is not the way I had been doing all these days. I used to create an action in my controller (class Notifier < ActionMailer::ARMailer) and then create an rhtml file with the email content and then say Notifier::deliver_my_email_message to send out the emails. But now that I
2003 Mar 19
4
Samba print command only works on restart, help!
...ol/samba/'.shift(); my $print_job = shift(); my $ps2pdf_location = '/usr/local/bin/ps2pdf'; my $output_location = '/var/spool/samba/perl-output.pdf'; my $smtp_server = '1.1.1.1'; my $msg_subject = 'subject'; my $msg_body = 'This is a pdf attachment.'; my $from_address = 'whatever@blah.com'; my $auth_user = 'user'; my $auth_pass = 'pass'; my $to_address = 'whatever@blah.com'; print "Variables set.\n"; @ps2pdfcmd = ($ps2pdf_location, $print_location, $output_location); system(@ps2pdfcmd) == 0 or die "system @ps2pd...
2019 Dec 04
2
v2.3.9 released
...quot; to "dest_port" * auth: Drop Postfix socketmap support. It hasn't been working ? with recent Postfix versions for a while now. * push-notification-lua: The "subject" field is now decoded to UTF8 ? instead of kept as MIME-encoded. + push-notification-lua: Added new "from_address", "from_display_name", ? "to_address" and "to_display_name" fields. The display names are ? decoded to UTF8. + Added various new fields to existing events. ? See http://doc.dovecot.net/admin_manual/list_of_events.html + Add lmtp_add_received_header setting. It can...
2019 Dec 04
2
v2.3.9 released
...quot; to "dest_port" * auth: Drop Postfix socketmap support. It hasn't been working ? with recent Postfix versions for a while now. * push-notification-lua: The "subject" field is now decoded to UTF8 ? instead of kept as MIME-encoded. + push-notification-lua: Added new "from_address", "from_display_name", ? "to_address" and "to_display_name" fields. The display names are ? decoded to UTF8. + Added various new fields to existing events. ? See http://doc.dovecot.net/admin_manual/list_of_events.html + Add lmtp_add_received_header setting. It can...