MiniVend Akopia Services

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

Order.pm modify for e-mail "from" field



******    message to minivend-users from "Rob Zimmerman" <rob@readysite.net>     ******

This is a re-visit. I need to solve this asap and will pay to have this done. 
While testing my current project live, I started receiving actuall orders (nice 
problem to have :-). So I am going to leave it up. I just need for the 
conformation e-mail message to contain a specified name in the "from" field
and not the file owners name (minivend). I note that the demo on minivend 
does the same thing. 

I have examined the contents of the Order.pm file and see a couple of places 
that this could most likely be done. I just have no-idea how? I do not now 
how minivend sends info to sendmail. It seems we should be able to pass 
this varible from the catalog.cfg file.  Also, below is my original post and 
thinking on this. 

Thanks
Rob
--------



My order receipts contain mvend@localhost as the "from" field in the e-
mailed order receipt. I have looked all over to change this with no luck.
I am wondering if I can create a variable in the catalog.cfg: VARIABLE   
EMAIL_FROM     orderdept@puzzlemaps.com

and then add to the code:

[set name=email_copy_sent interpolate=1][perl arg=sub interpolate=1]
 form_mail(

   q{_EMAIL_FROM_},
            q{[value email]},
            q{Thank you for your order [value mv_order_number]},
            q{__COMPANY__ Customer Service <__ORDERS_TO__>},

Thanks
Rob
----------
            <<'EndOfMail')
=================================
Robert Zimmerman [rob@readysite.net]
System Administrator
ReadySite Web Hosting and Design
http://readysite.net
Ph:888-356-2992
fax:603-356-6990
-
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: