Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[mv] BASE64 Encoding an attachment



******    message to minivend-users from capslock <capslock@anonymous.to>     ******

Hello minivend-users,

I am so close now ;)

I have been able to send an image as an attachment to the order
(report).  But it doesn't come across right.  It seems to be sending
the binary image file (jpg) as text...

I am assuming that the attachment needs to be BASE64 encoded.

Here is my code:

[tag op=mime
     interpolate=1
     type=image/jpeg
     description="image[value mv_order_number].jpg"]
[include file="pages/upload/[value mv_session_id]"]
[/tag]

I have even tried adding the line:
encoding=base64 to this as a poor guess.. but it doesn't work.

Is there a [perl] tag that could be used to encode it? Maybe using
encode_base64() ??

Thanks for the help!

-- 
Best regards,
James (cAPSLOCK)


-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: