--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to lif...@googlegroups.com.
To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
http://www.assembla.com/spaces/liftweb/tickets/1029-mailer-addresses-should-support-optional-personal-nameThanks David. In the meantime, do you see any way for me to make this work in my code without changing anything in the library?
On Tue, May 31, 2011 at 3:23 PM, BartH <bart...@gmail.com> wrote:http://www.assembla.com/spaces/liftweb/tickets/1029-mailer-addresses-should-support-optional-personal-nameThanks David. In the meantime, do you see any way for me to make this work in my code without changing anything in the library?
Yep, set the address to: David Pollak <feeder.of...@gmail.com>
The mail library will parse that correctly.
On Tuesday, May 31, 2011 10:54:21 AM UTC-7, David Pollak wrote:
Feel free to open a ticket on this issue (http://ticket.liftweb.net you must be a watcher of the LiftWeb space on Assembla) and please reference this thread.
On Mon, May 30, 2011 at 11:34 AM, BartH <bar...@gmail.com> wrote:
I would like to use Mailer to send email, but I need to include a friendly name in the From in addition to the email address. I am trying to do something like this, but I can't get my implicit into Mailer's scope:object FriendlyFrom {def apply(address: String, personal: String) = new FriendlyFrom(address, personal)implicit def friendlyFromToAddress(in: FriendlyFrom): Address = new InternetAddress(in.adr, in.personal)}class FriendlyFrom(address: String, val personal: String) extends Mailer.From(address)Is there any way around that? Does it make sense to build this functionality into Mailer for all address types?Thanks--
You received this message because you are subscribed to the Google Groups "Lift" group.To post to this group, send email to lif...@googlegroups.com.
To unsubscribe from this group, send email to liftwe...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to lif...@googlegroups.com.
To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.
Wow ... I wasted way too much time with that implicit. Thank you for pointing out this obvious solution.I demoted the priority of that ticket. Feel free to drop it even more if you want.
On Tue, May 31, 2011 at 3:59 PM, BartH <bart...@gmail.com> wrote:Wow ... I wasted way too much time with that implicit. Thank you for pointing out this obvious solution.I demoted the priority of that ticket. Feel free to drop it even more if you want.
Actually, it's a good feature because if my name is "david <il...@yaks.com> pollak" and my email address is "feeder.of...@gmail.com" then the string will be david <il...@yaks.com> pollak <feeder.of...@gmail.com> and that's a bad thing(tm)
On Tuesday, May 31, 2011 3:43:44 PM UTC-7, David Pollak wrote:
On Tue, May 31, 2011 at 3:23 PM, BartH <bar...@gmail.com> wrote:http://www.assembla.com/spaces/liftweb/tickets/1029-mailer-addresses-should-support-optional-personal-nameThanks David. In the meantime, do you see any way for me to make this work in my code without changing anything in the library?
Yep, set the address to: David Pollak <feeder...@gmail.com>
The mail library will parse that correctly.
On Tuesday, May 31, 2011 10:54:21 AM UTC-7, David Pollak wrote:
Feel free to open a ticket on this issue (http://ticket.liftweb.net you must be a watcher of the LiftWeb space on Assembla) and please reference this thread.
On Mon, May 30, 2011 at 11:34 AM, BartH <bar...@gmail.com> wrote:
I would like to use Mailer to send email, but I need to include a friendly name in the From in addition to the email address. I am trying to do something like this, but I can't get my implicit into Mailer's scope:object FriendlyFrom {def apply(address: String, personal: String) = new FriendlyFrom(address, personal)implicit def friendlyFromToAddress(in: FriendlyFrom): Address = new InternetAddress(in.adr, in.personal)}class FriendlyFrom(address: String, val personal: String) extends Mailer.From(address)Is there any way around that? Does it make sense to build this functionality into Mailer for all address types?Thanks--
You received this message because you are subscribed to the Google Groups "Lift" group.To post to this group, send email to lif...@googlegroups.com.
To unsubscribe from this group, send email to lift...@googlegroups.com.
Is your name really David'); drop table user; Pollack?