Search The ForumSearch   RegisterRegister  LoginLogin


 AfterLogic Forum : MailBee.NET SMTP
Subject Topic: SMTP IBM Verse Post ReplyPost New Topic
Message << Prev Topic | Next Topic >>

Joined: 23 November 2017
Location: Brazil
Online Status: Offline
Posts: 2
Posted: 23 November 2017 at 3:25pm | IP Logged Quote toledo.carolina

I'm trying to use a macro / vba code to send massive emails using smtp but not able to . I don't get any error / exception but also the e-mail is not sent

I tried using port 25 , 465 and 587 already

Sub send_emaill()

Dim myMail As CDO.Message
Set myMail = New CDO.Message

myMail.Configuration.Fields.Item("") = True
myMail.Configuration.Fields.Item("") = 1
myMail.Configuration.Fields.Item("") = ""
myMail.Configuration.Fields.Item("") = 25
myMail.Configuration.Fields.Item("") = 2
myMail.Configuration.Fields.Item("") = ""
myMail.Configuration.Fields.Item("") = "mypassword"

With myMail
.Subject = "Test SMTP"
.From = ""
.To = ""
.BCC = ""
.TextBody = "Test SMTP"
'.AddAttachment "C:\Users\takyar\Desktop\email-via-gmail.txt"
End With
On Error Resume Next
MsgBox ("Mail has been sent")
Set myMail = Nothing

End Sub
Back to Top View toledo.carolina's Profile Search for other posts by toledo.carolina
AfterLogic Support
AfterLogic Support

Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6071
Posted: 23 November 2017 at 11:01pm | IP Logged Quote Igor

Not sure if the request belongs in here. Are you actually using MailBee.NET Objects anywhere in your application? Your code doesn't contain any indication of that.

Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide