Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Computing-Froggy  
#1 Posted : Thursday, March 30, 2017 11:02:40 AM(UTC)
Computing-Froggy

Rank: Newbie

Groups: Registered
Joined: 3/30/2017(UTC)
Posts: 3
France
Location: Marseille

Hello

I am trying to use the EA component (EASendMailObjLib.Mail) from an MS-Access application (using VBA).

I've adapted the example from the doc to get a generic function to send e-mails (with the same interface I use for a function using CDO).
https://www.emailarchite...kb/vba_access.aspx?cat=0

I can see from the messages in the status bar, that the process is connecting to the server and sends some data ... but it does not go till the end, it stops some where along the way. For instance I got :
Sending 1024 / 1551
or with an attached file :
Sending 61998 / 619967

If I use the CDO function I was using before, it still works with the same parameter (server, user, password).

I don't understand what's going on !
Any help would be appreciated.

Edited by user Monday, April 10, 2017 6:55:00 AM(UTC)  | Reason: Not specified

ivan  
#2 Posted : Thursday, March 30, 2017 3:22:47 PM(UTC)
ivan

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,153

Thanks: 9 times
Was thanked: 55 time(s) in 55 post(s)
Could you generate a log file with LogFileName property and send it to support@emailarchitect.net?

add this:

oSmtp.LogFileName = "d:\smtp.txt"

before

oSmtp.SendMail ...
Computing-Froggy  
#3 Posted : Friday, March 31, 2017 12:02:06 AM(UTC)
Computing-Froggy

Rank: Newbie

Groups: Registered
Joined: 3/30/2017(UTC)
Posts: 3
France
Location: Marseille

I've tried that before ... but nothing is generated !

From what I read in other threads, the log only gets generated when the process comes out of SendMail ... which it does not ! :(
ivan  
#4 Posted : Wednesday, April 5, 2017 5:27:51 AM(UTC)
ivan

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,153

Thanks: 9 times
Was thanked: 55 time(s) in 55 post(s)
could you contact us by support email address directly?
Computing-Froggy  
#5 Posted : Monday, April 10, 2017 6:57:45 AM(UTC)
Computing-Froggy

Rank: Newbie

Groups: Registered
Joined: 3/30/2017(UTC)
Posts: 3
France
Location: Marseille

Thanks to Ivan : problem solved.
It was a mistake on my part, renaming a variable in one part and not the other ... and not using "Option Explicit" : it's all good now.
I can send email via an Exchange SMTP server from Access: YOUPIE !
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.096 seconds.

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.