×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Sending Bulk Emails With Attachments Without Using Microsoft Outlook.

Sending Bulk Emails With Attachments Without Using Microsoft Outlook.

Sending Bulk Emails With Attachments Without Using Microsoft Outlook.

(OP)
Hi,

Can anyone help me with the procedure and sample code for sending bulk emails with attachments without using Outlook?. Code that has been tested and functional that can work smoothly on Windows 7 - 11.

Thanks.

RE: Sending Bulk Emails With Attachments Without Using Microsoft Outlook.

Good day,

Thank you for the above link. I tried using the code. I keep getting 'RCPT Failed' and 'DATA failed' What possibly am I doing wrong?
Kind advise please.

I have tried changing the port from 25 to 465 and/or 587, Still no LUCK.

Regards,

FAIZAL

RE: Sending Bulk Emails With Attachments Without Using Microsoft Outlook.

Google is your friend:
https://www.febooti.com/products/automation-worksh...
https://help.saleshandy.com/article/181-why-my-ema...

In both cases the FROM mail address can be the culprit, but more generally speaking, your authhentication towards your SMPT server has to be correct and even then you may only be able to send to a set of known recipients, etc.

That all depends on your mail server and how it accepts connections and communication within the connection. Nobody can help you about YOUR credentials and authenitcation towards your SMTP server, you have to get all necessary information about that from your ISP/mail provider.

Chriss

RE: Sending Bulk Emails With Attachments Without Using Microsoft Outlook.

(OP)
Hi,

The Best solution i have found so far that works 100% without problem is sending mail messages with the Chilkat ActiveX Object. it is a perfect tool no need for outlook and it can easily stream up to 15 emails in a minute and also you can add attachments as needed ( You open the session once and send emails as many as you want then once done you close the session ) if you need a code that you can use tell me so i can send a clear code that you can easily implement and it works.

RE: Sending Bulk Emails With Attachments Without Using Microsoft Outlook.

If you have problems as MOTARA has them, using Chilkat vs the FAQ code won't solve that problem for you. Chilkat does not log in to a mail server by trying many things, it also needs the exact informations about mail server name, port, authentication method, etc. from you.

There are many alternative solutions. SPS blog has a bunch load of code to send mails in different ways, here's another one from Doug Hennig: https://doughennig.blogspot.com/2020/10/sending-em...
There's MailKit, as mentioned by Doug Hennig and many many more. but they all only work on the basis of knowing how your mail server works in terms of connecting to it, authenticating, as there are many ways to log in, and there are also many modes in which a mail server works, while you're connected.

For that reason, a mail client that's set up and works and can be automated is a bulk load of work taken away from you about these aspects.

Chriss

RE: Sending Bulk Emails With Attachments Without Using Microsoft Outlook.

Ahmad,

Maybe I'm being nosy, but for what business purpose do you want to send bulk emails with attachments?

RE: Sending Bulk Emails With Attachments Without Using Microsoft Outlook.

Quote:

what business purpose do you want to send bulk emails with attachments?

I don't know anything about Ahmed's application, but I would have thought it was a fairly common requirement. For example, a company I know sends a monthly newsletter to about 2,000 of its customers. The newsletter is a PDF attached to a standard email message. I'm sure many of us could cite other examples.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads

RE: Sending Bulk Emails With Attachments Without Using Microsoft Outlook.

We use bulk email sending for pay stubs in our payroll software and for certain clients it is weekly, and some clients have over 600 employees. And the actual paystub is a PDF.



If you want to get the best response to a question, please check out FAQ184-2483: How to get the best response from the forum first.

RE: Sending Bulk Emails With Attachments Without Using Microsoft Outlook.

I’m just wondering why a virus is able to find the right smtp settings to do it’s nasty job. We - ordinary people - have to enter everything exactly according to provider’s wishes and a virus is either smarter than us or is able to try many variables in the hope (or knowledge) something will work. I’ve never programmed a virus, but I’m curious why they seem to be able to setup a working smtp server.

Regards, Gerrit

RE: Sending Bulk Emails With Attachments Without Using Microsoft Outlook.

Gerrit,

first a virus can make use of mail client automation with the standard interface for it but they won't need that, they can run their own mail servers in the cloud that don't ask for the proper authentification. Their problem moves from the problem of sending mail via a proper mailserver to the protocols of forwarding mails between mail servers. I don't even know from the top of my hat how that is regulated. But it should be clear that posting a mail to your mailserver is like putting a letter into a mailbox and that just begins the journey to the destination mailserver, where the recipient can get its mails from.

It's indeed true that a virus also can include in itself a lot of things as a http, ftp or smtp server can be small sized implementations, but I guess a virus today is mostly a trojan that gets what it needs and loads it to your computer, if at all, in todays infrastructure they will have their army of servers in the cloud, your pc just becomes another client of these networks of malware and spam.

It's quite far fetched that a virus programmer would consult a programming forum to learn such things.

Chriss

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close