In my computer I have the e-mail account configured and I can send e-mails. But if i try to execute the executable into another computer does not work because we don't have the account configured I guess.
How to create an executable to send e-mail from a different computer that doesn't have quickmacros installed? Is it possible.
When creating macro, in dialog "Send email message" select the account (not <Default>) and check Variable. The dialog will transfer account settings from registry to the macro.
My mailbox for the following settings, debugging error occurred, I would like to ask where the wrong settings, I hope to be able to point it out, thank you
Now change the port settings, prompted the following error, I did not find the option of TLS, I hope to be able to point it out, thank you
-------------------------------------------------------------
Error (RT) in <open ":1: /0">Macro1: [Error: Negative or void server response] (0x7A)
Server response: 530 5.7.0 Must issue a STARTTLS command first
For example, gmail uses TLS, and my settings are:
SMTP port 465, checked secure connection. Server smtp.gmail.com, method LOGIN.
POP3 port 995, also checked. Server pop.gmail.com.
Thank you very much, I use Microsoft's outlook mailbox, the successful delivery of mail (code as follows), but the password is clear, how to encrypt the display?
The use of QM built-in send mail method, has not been successful, I hope to further improve
#ret //C# code
using System;
using System.Net;
using System.Net.Mail;
public class Email
{
static public void Send(string password,string email,string subject,string body)
{
var fromAddress = new MailAddress("[email protected]","From Name");
var toAddress = new MailAddress(email);
var smtp = new SmtpClient
{ ;;;;Host = "smtp-mail.outlook.com", ;;;;Port = 25, ;;;;EnableSsl = true, ;;;;DeliveryMethod = SmtpDeliveryMethod.Network, ;;;;UseDefaultCredentials = false, ;;;;Credentials = new NetworkCredential(fromAddress.Address, password)
};
using (var message = new MailMessage(fromAddress, toAddress)
{ ;;;;Subject = subject, ;;;;Body = body
})
{ ;;;;smtp.Send(message);
}
}
}
I use the following code to send e-mail messages, in the case of network instability, the link will be prompted to failure, how to set up in the case of failure to send, re send the message? Until the successful transmission, stop sending
Gintaras Wrote:When creating macro, in dialog "Send email message" select the account (not <Default>) and check Variable. The dialog will transfer account settings from registry to the macro.
When I check the variable it takes the double commas from the email accout
It may happen if in the SMTP dialog is selected <Default> and in Accounts dialog ("QM email settings") none of the accounts is set as default (it may happen after a Windows upgrade or if you never set a default account or deleted it). In the SMTP dialog select some real account (not <Default>) in the combo box. Or set default account.