similar to: email address parse

Displaying 20 results from an estimated 800 matches similar to: "email address parse"

2006 Feb 22
3
[OT] Email line separator
What line separator do you use when composing emails? 1. \n 2. \r\n 3. \r Is there a ''official'' line separator for emails (rfc-document?)? What separator is the most compatible between Windows, OS X and Linux? -- Norman Timmler http://blog.inlet-media.de
2006 Mar 14
2
Two unsaved related objects
Given the two tables Parent, Child where Parent has_many children: If I don''t save parent first then it seems that child.parent will not be assigned automatically if I call parent.children << child . Must the parent record be saved before I call parent.children << child ? If I must save Parent first then can someone explain to me how I can call parent.valid? before it
2006 Mar 14
3
Help doing find - look for nonempty habtm
I''ve got a Cuisine and a Restaurant model, with a habtm. One thing I want to do is find all the cuisines that have at least one restaurant associated with them. Right now I''m using the following SQL query: SELECT DISTINCT(cuisines.*) FROM cuisines, restaurants, cuisines_restaurants WHERE cuisines.id = cuisines_restaurants.cuisine_id AND restaurants.id =
2017 Oct 26
2
Bug: lmtp proxy does not quote local parts with spaces
There seems to be a bug with RFC822 processing in ltmp proxying that doesn't quote local parts that, for example, contain spaces. director config: director_username_hash = %Ln lmtp_proxy = yes recipient_delimiter = + protocol lmtp { auth_socket_path = director-userdb auth_username_chars = auth_username_format = %Ln passdb {
2017 Aug 24
2
vacation problem with SRS
i Cant compile piegeon hole from github with this feature: 2822.c -fPIC -DPIC -o .libs/rfc2822.o *edit-mail.c:* In function '*edit_mail_set_cache_corrupted*': *edit-mail.c:1665:3:* *error: *too many arguments to function ' *edmail->wrapped->v.set_cache_corrupted*' (&edmail->wrapped->mail, field, reason); * ^* *edit-mail.c:* At top level:
2006 Nov 10
2
RFC 2822 - message-id
I was porting some email from one imap server location to another and ran into a feature of something. One of them writes message-id as 'Message-Id' and the other writes it as 'Message-ID'. Because of this, all the messages are forever different. All mail is delivered from postfix and will be in the future. But I'm asking which of these syntaxes is correct or if there is
2006 Mar 14
1
html-scanner in controller?
Rails'' docs state for strip_tags: "Strips all HTML tags from the input, including comments. This uses the html-scanner tokenizer and so it?s HTML parsing ability is limited by that of html-scanner.Returns the tag free text." What''s "html-scanner" (some brief Googling didn''t find anything definitive) and can I use it in a controller? Joe --
2017 Jul 20
3
vacation problem with SRS
I have this version with FIXME /* FIXME: If From header of message has same address, we should use that * instead to properly include the phrase part. */ rfc2822_header_printf(msg, "To", "<%s>", reply_to); This should be work ok? Or You must change something? 2017-07-20 15:51 GMT+02:00 Stephan Bosch <stephan at
2006 Feb 22
9
acts_as_habtm_list plugin
I''d like to announce acts_as_habtm_list plugin for rails. acts_as_habtm_list is a Ruby on Rails plugin, that can manage ordered lists through a join-table. It is providing almost the same Api as acts_as_list. The position column has to be defined in the join table. You can find additional information at: http://www.inlet-media.de/acts_as_habtm_list/ Install it executing this command
2006 Mar 22
10
Need for multiple acts_as_list
I have a model "Childmodel" that belongs_to two other models "Parent1" and "Parent2". "Parent1" "has_many :childmodels, :order => :positionp1" and "Parent2" "has_many :childmodels, :order => :positionp2". i.e. The child is independently positioned within each of its parents. This works fine and gets me the useful
2006 May 16
4
Problems with multiple ''id'' columns in a join_table
I have a problem declaring a relationship through a join_table ; the SQL generated by ActiveRecord is correct, but there are two columns called ''id'', and the final object gets the ''wrong'' column ... Here''s a more detailed description of the data, code, and problem :- There''s a People table, with id, name, and a few things. Also a
2006 Jan 16
3
routing to controller inside module
Hey, am i to stupid to find the information about how to route to a controller in a module? Maybe module support has gone! The controller is under: app/controllers/admin/my_controller.rb The my_controller.rb file looks like this: module Admin class MyController def index render :text => ''Hello!'' end end end How does a route to all controllers under module
2017 Oct 26
2
Bug: lmtp proxy does not quote local parts with spaces
On 26/10/2017 18:38, Alexander Dalloz wrote: > Am 26.10.2017 um 12:20 schrieb David Zambonini: >> >> There seems to be a bug with RFC822 processing in ltmp proxying that >> doesn't >> quote local parts that, for example, contain spaces. > > Newer related RFCs are RFC 5321 and 5322. Typo, meant to say RFC2822, which they still supercede, not that the
2006 May 30
7
Stripping HTML tags from a string
Hello, Is there a common way of stripping html tags from a string? Right now I''m just calling gsub!(/<.*?>/, ''''), but with a background in PHP and always having used its strip_tags() method, I wonder if the Rails community has standardized this fairly common task with something a bit less simpleminded than my quick fix. Thanks! Zack -------------- next part
2006 Mar 15
4
help with DRY violation
I''m trying to be a good rails developer and fix DRY violations as i find them. However, i''m trying to fix this one, i cant seem to get it to work. I have two tables A and B that have a one-to-one relationship. Table B belongs_to Table A. Table A has_one Table B. I''m creating instances of Table A in different places, depending on the controller. However, for each
2006 Mar 21
13
Double and single quote usage in AWDWR
Hello everyone! I''ve noticed, that the book uses double quotes almost everywhere. It is like <%= javascript_include_tag "prototype" %> I''ve checked the "programming ruby, 2ed" book and found that double quotes are most suited when escape sequences and substitutions are required. Isn''t it more semantically correct to write this code like
2006 Mar 04
4
Submitting data to two different tables with two different models
I''m very new to Rails. I''ve been reading Agile Web Dev for a while and read up on ruby, but I''m still learning. I designed a website for someone for an engineering shop. New projects had to be added manually. Well, I figured this would be a great canidate for railifying! I have the form working perfectly, you can add your data and get it in a table, and listing
2006 Mar 08
3
List and update values from text_field_tag fields
Hi, I populate a couple of text_field_tag''s with data from an AciveRecord object. Some fields are editable and at the end of the page there''s a submit button. I want the new values to be updated in the DB but by default my original values are stored again. How do i go about doing this? thanks/jens AIM: jens.tinfors@mac.com Skype: jtinfors
2006 Mar 13
3
validates_associated problem
Hello, I have a situation where an ''employee'' belongs to a ''department'' and have setup the relationship as follows. class Employee < ActiveRecord::Base belongs_to :department, :foregin_key => "department_id" validates_associated :department_id end class Department < ActiveRecord::Base has_many :employees def validate_on_update
2006 Apr 13
2
Rail''s basic idea
Hallo, what links would you recommend for an advanced programmer, who wants to know something about the basic idea and architecture of Rails. That''s no question for tutorials or howtos, but rather for theoretical documents and field reports. Can you help me? -- Norman Timmler http://blog.inlet-media.de