[ic] email options

Gert van der Spoel gert at 3edge.com
Wed Jan 6 13:15:55 UTC 2010


> -----Original Message-----
> From: interchange-users-bounces at icdevgroup.org [mailto:interchange-
> users-bounces at icdevgroup.org] On Behalf Of David Christensen
> Sent: Friday, March 13, 2009 4:21 AM
> To: interchange-users at icdevgroup.org
> Subject: [ic] email options
> 
> I'm trying to figure out where to add support for the proper encoding
> of headers and body encoding, and I see there are a number of possible
> candidates:
> 
> email.tag
> email_raw.tag
> Vend::Email::tag_mail
> Vend::Email::tag_mime_lite_email
> 
> ...and probably some more I have missed.  Are these all active/
> supported methods of email sending?  Are there any that I'm missing?
> Is there an overview of what each is intended to do and how they
> differ?

In lib/Vend/Order.pm  you're directly sent to sub send_mail  which is in 
lib/Vend/Util.pm  :

# Compatibility with old globalsub payment
*send_mail = \&Vend::Util::send_mail;

I think this sub is currently copied also in lib/Vend/Email.pm

So currently lib/Vend/Util.pm  I believe is the one being used for the
send_mail sub.

http://rt.icdevgroup.org/Ticket/Display.html?id=119   is the ticket which is
currently keeping updates on the status of the mail situation.

Lateron in this thread Mike mentions to have the Encode issues sorted first.
As there is currently a sortof workaround to not be using Encode, perhaps
this could work for Vend/Email.pm aswell .. 

If I understand correctly there are now 2 patches: 
1 racke has for changing IC to use Vend/Email.pm 
1 david has with the use of Encode ... 

Anybody has any further updates on this?

CU,

Gert









More information about the interchange-users mailing list