vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I can't send send mail with line with length of 3000 characters, this line are truncated... I use the command: cat file|mailx -s "subject" name@domain.com Why? It's possibile change some parameters in mailx.rc or sendmail.cf for increasing max characters for line? Thanks! |
| |||
| Kappa^ wrote: > I can't send send mail with line with length of 3000 characters, this > line are truncated... > I use the command: > > cat file|mailx -s "subject" name@domain.com > > Why? It's possibile change some parameters in mailx.rc or sendmail.cf > for increasing max characters for line? > > Thanks! make it: cat file | fold -s -w 80 | mailx..... will break into lines of no more than 80 characters, break at last whitespace <=80 |
| ||||
| Kappa^ wrote: > I can't send send mail with line with length of 3000 characters, this > line are truncated... > I use the command: > > cat file|mailx -s "subject" name@domain.com > > Why? It's possibile change some parameters in mailx.rc or sendmail.cf > for increasing max characters for line? > > Thanks! > SMTP max is 1000 or so. You will need to encode the data to quoted-printable or base64 if you wish to preserve the long lines. -- Clem "If you push something hard enough, it will fall over." - Fudd's first law of opposition |