Hi Mike / Giovanni. Thank you for your valued help with this issue.
As per Giovanni's last post, i've checked the program XXXMIME in MMAIL/QRPGLESRC and there was a statement : if ImbAtt=2 eval ContentTyp='application-octet/stream' endif This i have changed to : if ImbAtt=2 eval ContentTyp='application/octet-stream' endif And everything seems to be okay. Thanks again for the support. Andy --- In [email protected], [EMAIL PROTECTED] wrote: > > Speaking to Andy he explained that he got the content types the wrong way > round so in fact MMAIL/EMSTMF was giving: > "application-octet/stream" > which i don't believe is a valid content type. After reading on the > easy400 site even the notes on MMAIL *SRVPGM say: > > http://www-922.ibm.com/mmailh/srvpgm.htm?ts=ts200627162940#P07 > > > > 1. MimeImbAtt - Imbed or attach a part of the body. > Repeat this subprocedure to imbed or attach a part of the body, such as > some text, an image, an audio, a movie, etc. > > > > Inputs: > IFS MIME file name > > Name of the IFS file to imbed or attach > > Content/type of the IFS file to imbed or attach > > Binary data flag: Y=binary > Note 1. If the IFS file to imbed or attached is declared to be binary, > it will be merged into the MIME file after being converted to BASE64 > representation. > > Imbed/Attach parameter: 1=Imbed, 2=Attach > Note 2.Files to be imbedded are assigned the requested Content/type; > Files to be attached are assigned "Content/type: application- octect/stream > " <- isnt this wrong? > > Maybe the SRVPGM is wrong?? i don't have MMAIL installed so can't check, > maybe someone else can confirm this? > > > > > > > > Regards, > > Mike Byrne > Analyst/Programmer - IT Department > BUDGET INSURANCE SERVICES > Pegasus House, Bakewell Road, Orton Southgate, Peterborough PE2 6YS > Tel: 01733 374430 > > This message is intended for the stated addressee(s) only and may be > confidential. Access to this email by anyone else is unauthorised. Any > opinions expressed in this email do not necessarily reflect the opinions > of Budget Group Limited and its subsidiaries . Any unauthorised > disclosure, use or dissemination, either whole or in part is prohibited. > If you are not the intended recipient of this message, please notify the > sender immediately. > > Please scan all attachments for viruses. > > > > > > "andy_m_rush" <[EMAIL PROTECTED]> > Sent by: [email protected] > 07/02/2006 15:02 > Please respond to Easy400Group > > To: [email protected] > cc: > Subject: [Easy400Group] Switching from SNDEMAIL (QMSF) to > MMAIL/EMLSTMF command... problems !!! > > > Hi, > > For some time we've emailed HTML attachments to customers using the > SNDEMAIL command however recently this has ceased working on the > iSeries (why i don't know... tried everything). > > As a solution we've changed all the programs to use the EMLSTMF in the > MMAIL library which we've used selectively for a number of years. > > The customer ARE now getting them, however alot are being blocked by > there IT depts firewalls... the reason being the content type has > changed. > > Previously (SNDEMAIL) the content type was : "application- octet/stream" > (which was allowed through) > > However using (EMLSTMF) the content type is : "application/octet- stream" > (which most customers are blocking) > > Has anyone any thoughts on a work round ? > > Many thanks > Andy > > > > > > > > > Yahoo! Groups Links > Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Easy400Group/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
