Closed muquit closed 10 years ago
From muq...@gmail.com on December 05, 2013 17:13:58
Status: Accepted
From muq...@gmail.com on December 07, 2013 15:08:45
Added a 5th filed with -attach to specify the encoding type. The default encoding type is base64. If no encoding should be used, specify the 5th field as "none". Also 4th field must be specified as "none" if no content-id will be used. Eample: -attach "file.txt,text/plain,a,blah.txt,none,none" -cs utf8
Status: Done
From d.rikhte...@gmail.com on December 07, 2013 21:08:37
Hi I got this error: Error: Invalid string specified with -a "filec.html,text/html,i,filec.html,none,none,none"
send_type='filec.html,text/html';
it's my command i use: mailsend -from "$from" -smtp "$smtp" -auth-login -port "$port" -user "$user" -pass "$pass" -sub "$subject" -log mail.log -d "$domain" -rt "$replayto" -attach "$send_type,i,filec.html,none,none,none" -cs "UTF-8" -list "$list"
also i tried with "$send_type,i,none,none,none"
From d.rikhte...@gmail.com on December 07, 2013 21:11:28
also i tried Error: Invalid string specified with -a "filec.html,text/html,i,filec.html,none,none"
From d.rikhte...@gmail.com on December 10, 2013 02:51:57
Maybe i should change something in smtp.c or change base64 with another things ?
it's not important for me it support base64 encode in this case if i can change something that it doesn't encrypt and send email in normal html my problem solved Could you give me some thing do it? such as comment some line or change some line ?
From d.rikhte...@gmail.com on December 05, 2013 01:56:59
I send email in normal mode but when your email be in another language except English and have Unicode characters then it break up in some email clients that not support encoding and shows strange characters like Windows 8 mail client - Windows phone mail client - some clients on android and IOS (sometimes title changed to only ?????? ???? ???)
it only works correct on webmails for example i have newsletter that it should be look like this: http://axgig.com/images/80153712818950249513.png but it shows in strange characters (and it's not related to change encoding to UTF-8 character in mail client i tried that it was) http://axgig.com/images/83745829792594084587.png That only changes is in header of email that is:
--n91hmGOjQBEtGJ9a Content-Type: text/html Content-Disposition: inline Content-Transfer-Encoding: base64
DQoJCTxkaXYgYWxpZ249ImNlbnRlciIgc3R5bGU9IndpZHRoOjEwMCU7Ij4NCgkJCTxkaXYg YWxpZ249InJpZ2h0IiBzdHlsZT0id2lkdGg6NjgwcHg7ZGlyZWN0aW9uOnJ0bDsiPg0KCQkJ CTx0YWJsZSBjZWxscGFkZGluZz0iMCIgY2VsbHNwYWNpbmc9IjAiIHN0eWxlPSJ3aWR0aDox MDAlIj4NCgkJCQkJPHRyPg0KCQkJCQkJPHRkPjxkaXYgaWQ9ImhlYWRlciI+DQoJPHRhYmxl IGNlbGxwYWRkaW5nPSIwIiBjZWxsc3BhY2luZz0iMCIgc3R5bGU9IndpZHRoOjEwMCU7Ij4N CgkJPHRyPg0KCQkJPHRkPg0KCQkJCTx0YWJsZSBjZWxscGFkZGluZz0iMCIgY2VsbHNwYWNp ...
I know that base64 is standard but that clients (most of them are Microsoft products are not) So some of my members can't read newsletter So if there any way to change this encoding to 7bit or normal html with no encoding because newsletter is not very important in security so it would be great
Original issue: http://code.google.com/p/mailsend/issues/detail?id=35