muquit / mailsend Goto Github PK
View Code? Open in Web Editor NEWA program to send mail via SMTP from command line
License: Other
A program to send mail via SMTP from command line
License: Other
From [email protected] on October 17, 2013 09:48:15
What steps will reproduce the problem? 1. Using gmail, starttls
2. use png as attachment
3. specify i for in-line What is the expected output? What do you see instead? The image should come in the mail body, it comes in the attachment instead with name - Untitled attachment. What version of the product are you using? On what operating system? Using 1.17b12 on windows 8 Please provide any additional information below.
Original issue: http://code.google.com/p/mailsend/issues/detail?id=24
From [email protected] on December 28, 2013 03:34:06
Hy Muhammad Muquit
one request for using wildcards with attachements.
It would be great when it is possible to use wildcards for attachements. It is the only thing i miss in this great tool ;-)
best regards
Stefan
Original issue: http://code.google.com/p/mailsend/issues/detail?id=42
From [email protected] on August 27, 2013 05:08:46
What steps will reproduce the problem? 1. Installed OpenSSL 1.0.1e SDK to C:\OpenSSL, Visual Studio 2012
2. svn checkout (1.17b12)
3. Open Developers Command Prompt for VS2012
4. nmake Makefile.nmake What is the expected output? What do you see instead? The compile and link seems to be okay. However, the filesize of mailsend.exe is very low (147 kb). Furthermore, running the exe on a target system (different system as dev system) results in a system error: "The program can't start because LIBEAY32.DLL is missing from your computer. Try reinstalling the program to fix this problem". What version of the product are you using? On what operating system? Compile + linking on Windows 7. Execution on Windows Server 2008 R2 . Please provide any additional information below. Compile+link log:
Microsoft (R) Program Maintenance Utility Version 11.00.60610.1
Copyright (C) Microsoft Corporation. All rights reserved.
cd libs\libsll
nmake -f Makefile.nmake
Microsoft (R) Program Maintenance Utility Version 11.00.60610.1
Copyright (C) Microsoft Corporation. All rights reserved.
cl /DWINNT /DWIN32 /DHAVE_MALLOC_H /I. /Ox /W3 /wd4996 /nologo /c sll.c
sll.c
lib /nologo sll.obj /out:sll.lib
cd ....
cd libs\libmsock
nmake -f Makefile.nmake
Microsoft (R) Program Maintenance Utility Version 11.00.60610.1
Copyright (C) Microsoft Corporation. All rights reserved.
cl /DWINNT /DWIN32 /DHAVE_MALLOC_H /DHAVE_OPENSSL /DHAVE_GETADDRINFO=1 /Ic:\openssl\include /I. /Ox /W3 /wd4996 /nologo /c msock.c
msock.c
msock.c(187) : warning C4101: 'sockaddr_ipv4' : unreferenced local variable
msock.c(268) : warning C4101: 'sa' : unreferenced local variable
msock.c(271) : warning C4101: 'addr' : unreferenced local variable
lib /nologo msock.obj /out:msock.lib
cd ....
cd libs\libmutils
nmake -f Makefile.nmake
Microsoft (R) Program Maintenance Utility Version 11.00.60610.1
Copyright (C) Microsoft Corporation. All rights reserved.
cl /DWINNT /DWIN32 /DHAVE_MALLOC_H /DHAVE_STRING_H /DHAVE_FCNTL_H /DHAVE_CTYPE_H /DHAVE_STDLIB_H /DHAVE_OPENSSL /I. /Ic:/openssl/include /Ox /W3 /wd4996 /nologo /c string.c mutils.c mutils_mime.c mutils_error.c mutils_blob.c mutils_temp.c mutils_time.c
string.c
mutils.c
mutils.c(1605) : warning C4101: 'space' : unreferenced local variable
mutils_mime.c
mutils_error.c
mutils_blob.c
mutils_blob.c(564) : warning C4018: '>' : signed/unsigned mismatch
mutils_temp.c
mutils_temp.c(30) : warning C4101: 'tfwd' : unreferenced local variable
mutils_temp.c(110) : warning C4101: 'tfwd' : unreferenced local variable
mutils_time.c
mutils_time.c(48) : warning C4101: 'rc' : unreferenced local variable
mutils_time.c(45) : warning C4101: 'now' : unreferenced local variable
Generating Code...
lib /nologo string.obj mutils.obj mutils_mime.obj mutils_error.obj mutils_blob.obj mutils_temp.obj mutils_time.obj /out:mutils.lib
cd ....
cl -I. -I./libs/libmutils -I./libs/libmsock -I./libs/libsll -Ic:/openssl/include -DWINNT=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MATH_H=1 -DHAVE_OPENSSL=1 -DHAVE_GETADDRINFO=1 /Ox /W3 /wd4996 /nologo /c main.c smtp.c utils.c setget.c
main.c
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE\fcntl.h(77) : warning C4005: 'O_BINARY' : macro redefinition
./libs/libmutils\mutils.h(110) : see previous definition of 'O_BINARY'
smtp.c
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE\fcntl.h(77) : warning C4005: 'O_BINARY' : macro redefinition
./libs/libmutils\mutils.h(110) : see previous definition of 'O_BINARY'
smtp.c(563) : warning C4244: 'function' : conversion from 'time_t' to 'unsigned int', possible loss of data
utils.c
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE\fcntl.h(77) : warning C4005: 'O_BINARY' : macro redefinition
./libs/libmutils\mutils.h(110) : see previous definition of 'O_BINARY'
setget.c
C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE\fcntl.h(77) : warning C4005: 'O_BINARY' : macro redefinition
./libs/libmutils\mutils.h(110) : see previous definition of 'O_BINARY'
Generating Code...
cl -I. -I./libs/libmutils -I./libs/libmsock -I./libs/libsll -Ic:/openssl/include -DWINNT=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MATH_H=1 -DHAVE_OPENSSL=1 -DHAVE_GETADDRINFO=1 /Ox /W3 /wd4996 /nologo ./libs/libmsock/msock.lib ./libs/libsll/sll.lib ./libs/libmutils/mutils.lib c:/openssl/lib/libeay32.lib c:/openssl/lib/ssleay32.lib ws2_32.lib shell32.lib advapi32.lib user32.lib gdi32.lib winmm.lib comdlg32.lib comctl32.lib main.obj smtp.obj utils.obj setget.obj /Femailsend.exe
Original issue: http://code.google.com/p/mailsend/issues/detail?id=18
From [email protected] on June 11, 2013 05:38:01
What steps will reproduce the problem? 1. No compile windows. What is the expected output? What do you see instead? Can not compile on windows, throws a lot of errors. What version of the product are you using? On what operating system? the last available 1.17b11, windows 7. Please provide any additional information below. after installing gem, visual studio 2010, etc.. can not compile the EXE:
not find the nmake, whence it out?
Original issue: http://code.google.com/p/mailsend/issues/detail?id=10
From [email protected] on December 13, 2013 04:31:03
origin: rc = connect(sock_fd, res->ai_addr, res->ai_addrlen);
There is a mistake here; It should be like this
new: rc = connect(sock_fd, cur->ai_addr, cur->ai_addrlen);
Original issue: http://code.google.com/p/mailsend/issues/detail?id=38
From [email protected] on October 15, 2013 05:48:48
What steps will reproduce the problem? mailsend.exe -attach "c:\logs*.logs"
Doesn't accept wildcards - *.logs from dedicated folder.
What is the expected output?
All logs in folder should be sent as attachments via email
What do you see instead?
Error: smtp.c (709) - Could not open file for c:\logs*.log reading (Invalid argument) What version of the product are you using? On what operating system? Windows 2008 R2 Latest build of mailsend.exe Please provide any additional information below. N/A
Original issue: http://code.google.com/p/mailsend/issues/detail?id=23
From [email protected] on January 11, 2014 19:31:47
What steps will reproduce the problem? 1. execute the program What is the expected output? What do you see instead? Expected is to see the program work but rather it says "mailsend.exe is not a valid win32 application" What version of the product are you using? On what operating system? 1.17b14 on win 2000 Please provide any additional information below. I realize you say you fixed a 2000 issue on 1.17b5 so i was hoping that would address my problem so i downloaded 1.17b14 and still had teh same problem. I was orginally trying with version 1.17b1. I just wanted to report this in case you wanted to know
Attachment: mailsend-1.17b14.JPG
Original issue: http://code.google.com/p/mailsend/issues/detail?id=43
From [email protected] on June 13, 2013 21:48:28
What steps will reproduce the problem? 1. Multiline not working
2. Parameters are specified, only reaches the last indicated What is the expected output? What do you see instead? Only get the last -M. What version of the product are you using? On what operating system? 1.17b11 + windows 7 Please provide any additional information below. mailsend.exe -to [email protected] -from [email protected] -ssl -smtp smtp.gmail.com -port 465 -sub "Testing Email via Windows cmd using GMAIL test %time%" -M "body line1: content disposition is inline" -M "body line2: this is line2 of the body" +cc +bc -q -auth-plain -user "your-gmail-id" -pass "yourpass"
Attachment: mail.jpg
Original issue: http://code.google.com/p/mailsend/issues/detail?id=12
Hi,
I'm using mailsend1.17b2 and had the error in the subject
when seng emails via some mailserver (Hmailserver).
I have made a fix but unlikely the code on the trunk is changed too much,
so I can't send a patch.
the main problem was in this code
/* vinicio qmail fix */
len=strlen(mbuf);
if (mbuf[len-1] != '\n')
strcat(mbuf,"\r\n");
else
{
mbuf[--len]='\0';
strcat(mbuf,"\r\n");
}
/* vinicio qmail fix */
if mbuf already ends with \r\n, the resulting buffer will end with "\r\r\n",
from here the error message "contains bare LF's".
I changed only the "else" with this one:
"else if (mbuf[len-2] != '\r')"
the second problem was that when splittng an attachment in lines,
the "vinicio qmail fix" was missing at all, so some illegal line was sent
to the mail server (unlikely I can't find this part in the current code)
From [email protected] on September 28, 2013 08:45:17
Basically, I tried sending an email using Gmail and found that if my account's password is 12 characters or more, I get an error whereas a password of 11 characters or less succeeds.
Here is the verbose output of the successful attempt:
mailsend1.16.exe -to -from -ssl -port 465 -auth-plain -smtp smtp.gmail.com -sub "Backup: 2013-
09-28" -M "Backup for 2013-09-28" +cc +bc -v -user "" -pass "<11 character password>" -attach ".\Archive pieces Dir\b.bmp"
Connecting to smtp.gmail.com:465
Cipher: ECDHE-RSA-RC4-SHA
Certificate information:
Subject: /C=US/ST=California/L=Mountain View/O=Google Inc/CN=smtp.gmail.com
Issuer: /C=US/O=Google Inc/CN=Google Internet Authority G2
[S] 220 mx.google.com ESMTP mb7sm5550388wic.10 - gsmtp
[C] EHLO localhost
[S] 250-mx.google.com at your service, [197.245.1.219]
[S] 250-SIZE 35882577
[S] 250-8BITMIME
[S] 250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN
[S] 250-ENHANCEDSTATUSCODES
[S] 250 CHUNKING
[C] AUTH PLAIN AFhhdmllckpESGRlUmF1dmlsbGVQU0VAZ21haWwuY29tACd2Tzc1XlxNOCw9
[S] 235 2.7.0 Accepted
PLAIN Authentication succeeded
[C] MAIL FROM:
[S] 250 2.1.0 OK mb7sm5550388wic.10 - gsmtp
[C] RCPT TO:
[S] 250 2.1.5 OK mb7sm5550388wic.10 - gsmtp
[C] DATA
[S] 354 Go ahead mb7sm5550388wic.10 - gsmtp
Subject: Backup: 2013-09-28
From:
Date: Sat, 28 Sep 2013 13:51:47 +0200
To:
X-Mailer: @(#) mailsend v1.16 (Windows)
X-Copyright: GNU GPL. It is illegal to use this software for Spamming
Content-type: multipart/mixed; boundary="L+U3M/BYuMHFt7s3"
Mime-version: 1.0
--L+U3M/BYuMHFt7s3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
[C] Backup for 2013-09-28
--L+U3M/BYuMHFt7s3
Content-Type: application/octet-stream; name=b.bmp
Content-Disposition: attachment; filename="b.bmp"
Content-Transfer-Encoding: base64
--L+U3M/BYuMHFt7s3--
[C] .
[S] 250 2.0.0 OK 1380369105 mb7sm5550388wic.10 - gsmtp
[C] QUIT
[S] 221 2.0.0 closing connection mb7sm5550388wic.10 - gsmtp
Mail sent successfully
Here is the verbose output for the failed attempt:
mailsend1.16.exe -to -from -ssl -port 465 -auth-plain -smtp smtp.gmail.com -sub "Backup: 2013-
09-28" -M "Backup for 2013-09-28" +cc +bc -v -user "" -pass "<12 character password>" -attach ".\Archive pieces Dir\b.bmp"
REM Del ".\Archive pieces Dir\b.bmp"
Connecting to smtp.gmail.com:465
Cipher: ECDHE-RSA-RC4-SHA
Certificate information:
Subject: /C=US/ST=California/L=Mountain View/O=Google Inc/CN=smtp.gmail.com
Issuer: /C=US/O=Google Inc/CN=Google Internet Authority G2
[S] 220 mx.google.com ESMTP ey4sm5521161wic.11 - gsmtp
[C] EHLO localhost
[S] 250-mx.google.com at your service, [197.245.1.219]
[S] 250-SIZE 35882577
[S] 250-8BITMIME
[S] 250-AUTH LOGIN PLAIN XOAUTH XOAUTH2 PLAIN-CLIENTTOKEN
[S] 250-ENHANCEDSTATUSCODES
[S] 250 CHUNKING
[C] AUTH PLAIN AFhhdmllckpESGRlUmF1dmlsbGVQU0VAZ21haWwuY29tAGluLkFpTCpCIzYk
SA==
[S] 535-5.7.8 Username and Password not accepted. Learn more at
Error: AUTH PLAIN failed: '535 5.7.8 Username and Password not accepted. Learn m
ore at'
Could not send mail
Original issue: http://code.google.com/p/mailsend/issues/detail?id=20
Hi
when we send an email this email on server get an ID like this:
Message-ID: [email protected]
or i checked for sending email from mailsend is like this in log:
Mar 10 12:03:15 server postfix/cleanup[17031]: 68353443AA: message-id=20140310083315.68353443AA@myserver
when i send email from a mail client like SquirrelMail it stored in sent folder and when i open it and show full header i see something like this:
So i wanna to know is it possible get this message id from mailsend ? when i send an email from mailsend it useble for checking the status of this message from log after send an email
Thanks
From [email protected] on June 29, 2013 12:22:52
What steps will reproduce the problem? mailsend -smtp smtp.gmail.com -port 465 -ssl -v -auth -user someone -pass something -f [email protected] -t [email protected] -cs Big5 -sub "text in chinese test" -M "text in chinese test 中文測試" What is the expected output? What do you see instead? "中文測試" is the meaning of "text in chinese test"
It should display the correct words.
However I got the worng code as "銝剜?皜祈岫" What version of the product are you using? On what operating system? mailsend1.17b12.exe Windows XP in Big5 Chinese Please provide any additional information below. I guess it would be someting wrong in the path which that passing the double word charset.
So, I sent the mail by mailsend and using gmail to send it again.
To check the difference.
sent by mailsend :
Content-Type: text/plain; charset=Big5
Content-Disposition: inline
text in chinese test 銝剜?皜祈岫
sent by gmail :
Content-Type: text/plain; charset=Big5
Content-Transfer-Encoding: quoted-printable
Chinese text testing
=A4=A4=A4=E5=B4=FA=B8=D5
The key difference is "Content-Transfer-Encoding: quoted-printable".
So, I have a suggestion.
Can you provide the command-line options for user for assign the Encoding about "quoted-printable" ?
If it can be, your program can send any kind of word for gmail system without any problem!
Thank you!
Original issue: http://code.google.com/p/mailsend/issues/detail?id=14
From [email protected] on May 08, 2013 15:32:33
What steps will reproduce the problem? 1. open command prompt as admin
2. type mailsend -h
What is the expected output? see the help file What do you see instead? "mailsend is not recognized as an internal or external command, operable program or command file
What version of the product are you using? mailsend1.17b11.exe On what operating system? w7 64 bit ultimate
I have copied mailsend1.17b11.exe to windows\system32 windows\syswow64.
Also added as environment variable. Name mailsend, value C:\windows\system32 - didn't work. Value as C:\Windows\SysWOW64 didn't work either. Tried renaming mailsend1.17b11.exe to mailsend.exe. Also tried on another partition.
Original issue: http://code.google.com/p/mailsend/issues/detail?id=8
From [email protected] on August 04, 2013 15:36:54
What steps will reproduce the problem? 1. Using all the switches for a return address, -rt & -f, can't get bounce back messages What is the expected output? What do you see instead? When an email is sent to a valid address, the return address works fine. When an email is sent to an invalid address (miss-spelled, no longer there, any reason that it can't be delivered), there is no bounce back message. The bounce back is needed make sure we are only sending to valid email's What version of the product are you using? On what operating system? v1.17b12 on Windows 7 SP1 Please provide any additional information below. Dump from the mail server receiving the incorrect email address:
X-Barracuda-Envelope-From:
From: me@My_Domain.com me@My_Domain.com
To: [email protected]
Reply-To: me@My_Domain.com
X-Mailer: @(#) mailsend v1.17b12 (Windows)
Return-Path: me@My_Domain.com
X-OriginatorOrg: My_Domain.com
X-Barracuda-Orig-Rcpt: [email protected]
X-Barracuda-Spam-Status: No, SCORE=0.01 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=4.3 KILL_LEVEL=5.8 tests=EMPTY_ENV_FROM
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.137590
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
0.00 EMPTY_ENV_FROM Empty Envelope From Address
Commandline:
mailsend -q -to [email protected] -from me@My_Domain.com -starttls -port 587 -auth -smtp outlook.office365.com -user me@My_Domain.com -pass NotARealPassword -name "My Display name" -attach updcard.doc,application/msword,a -attach updmsg.txt,text,i -sub "Update request" -rt me@My_Domain.com -log mslog.txt >NUL 2>&1
Attachment: Log and commandline.txt
Original issue: http://code.google.com/p/mailsend/issues/detail?id=17
From [email protected] on December 22, 2013 07:30:35
I'm using your program to send emails from a batch file that runs unattended and from multiple computers.
A great feature of your program is that you can use gmail, hotmail etc
servers when you specify a valid account (so you do not need to be inside
your own network and specify your local email server)
But, I do not like to have the password in plain view
I am looking at various options, keeping in mind that the solution
should be easily portable to other computers, so extra files, registry entries etc are not a first option.
a) compile batch file, but do password protected compiles exist
and with the proper program the batch file can be decompiled
b) encrypt the sendmail command line or only the password or your password environment variable with
various tools (ms: cipher.exe, certutil.exe, joeware.net cpau.exe
c) add feature to your program.
d) do you have any other idea's
Thank you very much
Original issue: http://code.google.com/p/mailsend/issues/detail?id=40
From [email protected] on June 07, 2013 18:28:00
the changelog and the examples say that the switch -M can be used to add multiple body lines. This does not work for me, the email always contains only the last line (last -M switch when multiple present)
Original issue: http://code.google.com/p/mailsend/issues/detail?id=9
From [email protected] on September 08, 2013 16:40:24
What steps will reproduce the problem? 1. Trying to run the script on Windows 2008R2 Std X64 on a Domain. 3. What is the expected output? What do you see instead? Email never arrives at the destination What version of the product are you using? On what operating system? mailsend1.16.exe on Windows 2008R2 Std X64 Please provide any additional information below. We've created a small script that sends an email everyday with Attachment from 2003 and 2008 servers from the same domain and only the 2003's arrives at the destination mailbox. We are not sure if it's because AUC gets in the way or something else? The Script is configured to run from a folder in C:\OPS and it's also where the mailsend1.16.exe is.
Any idea's?
Original issue: http://code.google.com/p/mailsend/issues/detail?id=19
From [email protected] on November 26, 2013 02:44:07
What steps will reproduce the problem? 1. Porting mailsend in the uClibc 0.9.30.2 environment.(ipv6 address will be returned first.)
2. Device can't connect to IPV6 address.
3. mailsend ver.1.17b14. What is the expected output? What do you see instead? For example, when entering: (mailsend -v -info -smtp smtp.gmail.com -port 587), it returns one ipv6 address and several ipv4 addresses back. If device failed to connect to first address(ipv6) returned, connection will fail to the rest of returned addresses(ipv4). What version of the product are you using? On what operating system? mailsend ver.1.17b14. Embedded Linux(on armv7). Please provide any additional information below. Problem solved:
[mailsend/libs/libmsock/msock.c : clientSocket()]
366c366
rc = connect(sock_fd, cur->ai_addr, cur->ai_addrlen);
Original issue: http://code.google.com/p/mailsend/issues/detail?id=34
From [email protected] on October 29, 2013 11:52:09
Please discard previous message... wrong subject... sorry.
I rememer that in v.1.15 and 1.16 there isa a --msgbody option that is commented (doesn't work "out of the box").
This option permit to attach a text file as a body of the message.
I reenable this option and compile the program and it just work with Thunderbird and Outlook.
It is possible to reenable this option by default?
Thank you
Original issue: http://code.google.com/p/mailsend/issues/detail?id=29
From [email protected] on August 01, 2013 06:03:24
What steps will reproduce the problem? 1. -cs option 2. 3. What is the expected output? What do you see instead? Mail in HTML format What version of the product are you using? On what operating system? 1.16 Please provide any additional information below. I would like to send mail in html format . If I attach html code with -attach option it works
Original issue: http://code.google.com/p/mailsend/issues/detail?id=16
From [email protected] on December 06, 2013 02:48:41
I failed to attach PDFs that have a comma in the filename, as comma is the separator between filename and mime_type.
Would it be possible to change the parameter settings of mailsend to solve this issue?
Muhammand wrote:
Sure. I can add an option to specify the separator other than comma.
Please add an issue if possible, so that I can remember.
(X) Done
Original issue: http://code.google.com/p/mailsend/issues/detail?id=36
From [email protected] on July 02, 2013 07:39:15
What steps will reproduce the problem? 1. Sending email 2. 3. What is the expected output? What do you see instead? I expect it to send email. But it never does and gives me this error. What version of the product are you using? On what operating system? v1.16 Please provide any additional information below.
Original issue: http://code.google.com/p/mailsend/issues/detail?id=15
From [email protected] on May 05, 2013 14:01:50
mailsend writes "Mail sent successfully" message on stdout in interactive mode even if -quiet flag is used.
Original issue: http://code.google.com/p/mailsend/issues/detail?id=6
Greetings,
There seems to be a bug with the logging option.
During the process the log file gets created or append to existing one.
On exit it will clear that log file.
I am using the windows version 1.17b14
From [email protected] on June 11, 2013 19:42:46
What steps will reproduce the problem? 1. not compile under windows What is the expected output? What do you see instead? I can not compile What version of the product are you using? On what operating system? mailsend-1.17b11 - Windows 7 Please provide any additional information below. Console:
C:\Users\Daniel\Desktop\mailsend-1.17b11>"C:\Program Files\Microsoft Visual Stud
io 10.0\VC\bin\nmake.exe" -f Makefile.nmake clean
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
del main.obj smtp.obj utils.obj setget.obj mailsend.exe
No se pudo encontrar C:\Users\Daniel\Desktop\mailsend-1.17b11\main.obj
cd libs\libsll
"C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\nmake.exe" -f Make
file.nmake clean
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
del sll.obj sll.lib *.bak
No se pudo encontrar C:\Users\Daniel\Desktop\mailsend-1.17b11\libs\libsll\sll.ob
j
cd ....
cd libs\libmsock
"C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\nmake.exe" -f Make
file.nmake clean
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
del msock.obj msock.lib *.bak
No se pudo encontrar C:\Users\Daniel\Desktop\mailsend-1.17b11\libs\libmsock\msoc
k.obj
cd ....
cd libs\libmutils
"C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\nmake.exe" -f Make
file.nmake clean
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
del string.obj mutils.obj mutils_mime.obj mutils_error.obj mutils_blob.o
bj mutils_temp.obj mutils_time.obj mutils.lib *.bak
No se pudo encontrar C:\Users\Daniel\Desktop\mailsend-1.17b11\libs\libmutils\str
ing.obj
cd ....
C:\Users\Daniel\Desktop\mailsend-1.17b11>"C:\Program Files\Microsoft Visual Stud
io 10.0\VC\bin\nmake.exe" -f Makefile.nmake
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
cd libs\libsll
"C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\nmake.exe" -f Make
file.nmake
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
cl /DWINNT /DWIN32 /DHAVE_MALLOC_H /I. /Ox /W3 /wd4996 /nologo /c sll.c
"cl" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
NMAKE : fatal error U1077: 'cl' : return code '0x1'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\bi
n\nmake.exe"' : return code '0x2'
Stop.
C:\Users\Daniel\Desktop\mailsend-1.17b11>
Original issue: http://code.google.com/p/mailsend/issues/detail?id=11
From [email protected] on December 08, 2013 19:46:07
Currently the mime type of one line message is text/plain, however some might want to use HTML for one line messages.
Original issue: http://code.google.com/p/mailsend/issues/detail?id=37
From [email protected] on October 09, 2013 04:16:07
What steps will reproduce the problem? I'm using mailsend 1.17b12 binary on a Windows 7 computer. Connecting to mandrill with STARTTLS and authentication. Using the -q flag. What is the expected output? What do you see instead? Should show no output at all. But instead shows:
libmsock: using getaddrinfo
AF_INET IPv4
IP address: 54.228.142.25:587
EINPROGRESS=10036,EWOULDBLOCK=10035
connect(): socket=268,rc=-1, errno=10035
(Debug) Try socket 268
Certificate information:
Subject: /C=US/ST=Georgia/L=Atlanta/O=The Rocket Science Group, LLC/OU=Product D
ev/CN=*.mandrillapp.com
Issuer: /C=US/O=Thawte, Inc./CN=Thawte SSL CA What version of the product are you using? On what operating system? 1.17b12 on windows 7
Original issue: http://code.google.com/p/mailsend/issues/detail?id=21
After a bit of digging within the sources, I noticed that -d is actually -domain when referring to the EHLO domain.
From [email protected] on October 20, 2013 16:46:07
Add the options:
-4 force to use IPv4 address of SMTP server
-6 force to use IPv6 address of SMTP server
Original issue: http://code.google.com/p/mailsend/issues/detail?id=26
From [email protected] on March 19, 2013 12:43:18
i like send a html body
i had tried -attach "my_file.htm,text/html,i"
but no show in the body
PLEASE helpme
Original issue: http://code.google.com/p/mailsend/issues/detail?id=1
From [email protected] on December 23, 2013 12:31:27
I would like to request at least a switch that tells Mailsend to re-attempt sending an email if there is a connection error.
I have to email some large attachments once a week and it takes 10-15 minutes to send each email at my connection speed. My solution has been to use this program and Windows Task Scheduler to schedule the emails to be sent during the night.
Unfortunately, I have found that my internet would sometimes disconnect for a minute or two while the scheduled task is running. When this happens, due to the way I have things set up, the email currently being sent as well as every other one in the queue doesn't get sent.
The solution to this would be if Mailsend could be told to try send the email again if there is a connection problem rather than aborting. You could also add two new switches as well, one to specify how many times the email should be resent and the second to specify how long the program should wait before attempting to send the email again.
If you could code this so that a for -> do loop with Mailsend in it isn't interrupted, that would be even better.
Original issue: http://code.google.com/p/mailsend/issues/detail?id=41
Hi, I'm using Centos 6.5 and trying to use mailsend with a command like this:
mailsend -to [email protected] -ssl -port 465 -user [email protected] -pass "CrappyP@ssword" -sub "Test it" -smtp box6.bluehost.com -f "[email protected]" -M "blah" -v -M "Test Message"
When I execute this command I see the following debug output followed by a segmentation fault. I do NOT receive the message in the receiver email account:
Connecting to box6.bluehost.com:465
Will detect IPv4 or IPv6 automatically
libmsock: using getaddrinfo
AF_INET IPv4
IPv4 address: 66.147.244.178
EINPROGRESS=115,EWOULDBLOCK=11
connect(): socket=3,rc=-1, errno=115
(Debug) Try socket 3
Cipher: CAMELLIA256-SHA
Certificate information:
Subject: /OU=Domain Control Validated/OU=PositiveSSL Wildcard/CN=*.bluehost.com
Issuer: /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=PositiveSSL CA
[S] 220-box6.bluehost.com ESMTP Exim 4.80 #2 Sat, 01 Feb 2014 15:31:04 -0700
[S] 220-We do not authorize the use of this system to transport unsolicited,
[S] 220 and/or bulk e-mail.
[C] EHLO localhost
[S] 250-box6.bluehost.com Hello localhost [174.52.5.6]
[S] 250-SIZE 52428800
[S] 250-8BITMIME
[S] 250-AUTH PLAIN LOGIN
[S] 250 HELP
[C] MAIL FROM: [email protected]
[S] 250 OK
[C] RCPT TO: [email protected]
[S] 250 Accepted
[C] DATA
[S] 354 Enter message, ending with "." on a line by itself
Subject: Test it
From: [email protected]
Date: Sat, 01 Feb 2014 15:30:25 -0700
To: [email protected]
X-Mailer: @(#) mailsend v1.17b15 (Unix)
X-Copyright: BSD. It is illegal to use this software for Spamming
Message: blah
Mime type: text/plain
Disposition: inline
Encoding type: (null)
Message: Test Message
Mime type: text/plain
Disposition: inline
Encoding type: (null)
Segmentation fault
From [email protected] on November 04, 2013 13:13:33
In order to support the HTML with embedded images emails, it is necessary to pass a Content-ID for attachments.
Also, message body has to be "multipart/related" (rather than multipart/mixed) or an email client (outlook or thunderbird) would show the body of the email split.
The proposed patch allows:
the switch name is pretty long, so feel free to change it to whatever you find suitable.
Also the issue with not initializing attachment_name is fixed by the patch.
Attachment: patch.zip
Original issue: http://code.google.com/p/mailsend/issues/detail?id=30
From [email protected] 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
From [email protected] on October 27, 2013 00:31:11
right now, the attached file name, will default to a physical name of a file (as seen on the storage).
please add the ability (the 4th option of -attachment?) to specify the attachment name:
example:
-attach /files/doc/CRAZYGUID123123128937123.txt,text/plain,a,uploadlog.txt
(i believe it makes no sense for "inline" attachments)
Original issue: http://code.google.com/p/mailsend/issues/detail?id=27
From [email protected] on November 18, 2013 18:07:14
What steps will reproduce the problem? 1. create a .rar file (2MB).
2. attach it using -attach "/myFile.rar,application/x-rar-compressed"
3. execute command. What is the expected output? What do you see instead? the expected output is a mail with a rar attachment in my inbox, and a "0" return value. or a non-zero return value on failure.
what I get is 0 return value, but no email in inbox / sent mail! What version of the product are you using? On what operating system? 1.16 Please provide any additional information below. thank you.
Original issue: http://code.google.com/p/mailsend/issues/detail?id=31
From [email protected] on November 21, 2013 03:26:38
Hello!
As suggested in discussion forum (Topic: https://groups.google.com/forum/#!topic/mailsend-discuss/9x59Dc179P8 ) this should be a new feature request.
I would like to send an email by MailSend starting from a pre-existent .eml file.
So the MailSend should get the message body from the .eml and other attachments always from the .eml file.
I attach a .zip with an .eml test file.
Thank you!
Attachment: test.zip
Original issue: http://code.google.com/p/mailsend/issues/detail?id=32
From [email protected] on June 16, 2013 14:12:14
By default do not show the attachments in verbose mode. Add a show -show_attach to show the attachments in verbose mode.
Original issue: http://code.google.com/p/mailsend/issues/detail?id=13
From [email protected] on March 23, 2013 08:15:25
Is there a setting available to create a log file and append to that file?
Original issue: http://code.google.com/p/mailsend/issues/detail?id=2
From [email protected] on April 28, 2013 16:02:34
What steps will reproduce the problem? 1. ./configure --with-openssl=/usr
2. make -j8
3. make install DESTDIR=test
==> What is the expected output?
The installation to ./test
==> What do you see instead?
cp: cannot create regular file ‘/usr/bin/mailsend’: Permission denied
make: *** [install] Error 1
==> What version of the product are you using? On what operating system?
1.17b10 on Arch Linux
Original issue: http://code.google.com/p/mailsend/issues/detail?id=5
From [email protected] on October 20, 2013 09:06:15
What steps will reproduce the problem? 1. send mutiline email included Bc
2. make the list based in faq example
3. the address email in front of bc: change to bc:@ What is the expected output? What do you see instead? works correctly What version of the product are you using? On what operating system? mailsend v1.17b12 Please provide any additional information below. see my list file and log file that i attached
you see this:
20-Oct-2013 16:22:28.254: [C] RCPT TO: [email protected]
20-Oct-2013 16:22:28.339: [S] 250 2.1.5 Ok
20-Oct-2013 16:22:28.339: [C] RCPT TO: Bc:[email protected]
20-Oct-2013 16:22:28.424: [S] 250 2.1.5 Ok
Attachment: list.txt mail.log
Original issue: http://code.google.com/p/mailsend/issues/detail?id=25
From [email protected] on December 15, 2013 20:08:39
If no MIME type is specified with -mime-type or with -attach, guess sensible MIME type from file name extension.
Available with the latest source in svn.
Original issue: http://code.google.com/p/mailsend/issues/detail?id=39
From [email protected] on October 12, 2013 14:07:11
If base64 encoded string in SMTP authentication are longer than 60 characters, a new line was added to the string causing authentication to fail. Mistakenly the function that creates the base64 attachments was used to
encode the string. Thanks to Nicola Marangon for reporting the bug. https://groups.google.com/forum/#!topic/mailsend-discuss/G6e37xpLo44
Original issue: http://code.google.com/p/mailsend/issues/detail?id=22
Firstly congratulations for your work.
About the documentation, I have realized that the option for specify the file to include multiple addresses is wrong. Currently it is:
-lilst file - a file containing a list of email addresses
however that option does not work and it returns an error message warning that the file is not a known option. I checked the issues topics and read the other one in which you say that it is -list so I tried and it was correct. It would be perfect if you could correct that for other users because is a bit confusing.
My best regards
From [email protected] on March 24, 2013 18:05:05
Currently if non-ascii characters are used in subject, To or in any header, they might show up as strange garbled characters.
Original issue: http://code.google.com/p/mailsend/issues/detail?id=3
From [email protected] on October 29, 2013 11:50:53
I rememer that in v.1.15 and 1.16 there isa a --msgbody option that is commented (doesn't work "out of the box").
This option permit to attach a text file as a body of the message.
I reenable this option and compile the program and it just work with Thunderbird and Outlook.
It is possible to reenable this option by default?
Thank you
Original issue: http://code.google.com/p/mailsend/issues/detail?id=28
From [email protected] on November 22, 2013 04:15:28
What steps will reproduce the problem? 1. I want to send email with gmail account
2. I got this: Not Compiled OpenSSL, some auth methods will be unavailable What is the expected output? What do you see instead? # mailsend -info -port 465 -ssl -smtp smtp.gmail.com
Error: '-ssl' not available, not compiled with OpenSSL
Connection timeout: 5 secs
[S] 220 mx.google.com ESMTP lj19sm30965234vdb.7 - gsmtp
[C] EHLO localhost
[S] 250-mx.google.com at your service, [95.38.164.219]
[S] 250-SIZE 35882577
[S] 250-8BITMIME
[S] 250-STARTTLS
[S] 250-ENHANCEDSTATUSCODES
[S] 250 CHUNKING
[C] STARTTLS
[S] 220 2.0.0 Ready to start TLS
Error: Not Compiled with OpenSSL, will not try STARTTLS What version of the product are you using? On what operating system? mailsend -V
mailsend Version: @(#) mailsend v1.17b12
Not Compiled OpenSSL, some auth methods will be unavailable
mint 14-64bit
Original issue: http://code.google.com/p/mailsend/issues/detail?id=33
From [email protected] on May 08, 2013 09:43:30
I am trying to use the option to send mails using the lst file with addresses .
I have the following .lst file
To: [email protected]
BCc: [email protected]
[email protected]
calling the following
MAILSEND -d exhub1.name.co.tt -smtp 172.121.145.6 -l C:\IVR\MailSend\emails.lst -f [email protected] -sub "Testing mailsend "
when i run this it is prompting me for to and cc etc.
How can I get it to run using the .lst file containing the email addresses and not prompting me .
Looking forward to your response
Rene
Original issue: http://code.google.com/p/mailsend/issues/detail?id=7
Does mailsend support a configuration file? I am looking to replace
for use with git send-email
, but I think I cannot unless mailsend has a config file.
From [email protected] on April 25, 2013 20:02:23
==> What steps will reproduce the problem?
==> What is the expected output? What do you see instead?
Step 3 causes error in the build which the Arch Linux package script (makepkg) detects and bails out not building a package as a result.
If I build via make -j1
I get no such errors.
==> What version of the product are you using? On what operating system?
1.17b9 on Arch Linux
==> Please provide any additional information below.
I have attached the build logs for both make -j1
and make -j8
for your reference.
Attachment: make_j1.log make_j8.log
Original issue: http://code.google.com/p/mailsend/issues/detail?id=4
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.