You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried all kinds of ways to make the function for sending e-mail work, taking care to configure the SMTP server properly. Even so, the Java exception error keeps appearing
The text was updated successfully, but these errors were encountered:
Studying the problem further, I see that this error happens when I request access to the gmail server directly. Now when I use the outlook application the problem disappears and I can send the email, with the code working correctly.
I added the following lines after e = mailspoon.HtmlEmail:
h = actxserver('outlook.Application');
e = h.CreateItem('olMail');
So if you have gmail being used by outlook with this addition in the code you will be able to forward the emails to the recipients without any problems.
Cool! I'll see about adding Outlook support. But that'll be a "bonus" feature: I don't want to require users to use Outlook instead of another email client, and the primary target for MailSpoon is actually server-side automation, so it needs to be able to operate on its own.
I'm sure this is a bug in my mail host/session configuration code in MailSpoon. That part of the code is, ahhh, not entirely done yet. I'll have time to work on it this weekend!
I have tried all kinds of ways to make the function for sending e-mail work, taking care to configure the SMTP server properly. Even so, the Java exception error keeps appearing
The text was updated successfully, but these errors were encountered: