Rank: Newbie
Groups: Registered
Joined: 10/6/2015(UTC) Posts: 1
The page here
https://www.emailarchitect.net/easendmail/ex/d/7.aspx explains how to send emails using the queue.
I couldn't make the example work using the exact code on that page because in the line
Quote: If oSmtp.SendMailToQueue() = 0 Then
SendMailToQueue expected a string parameter (Formal parameter name 'Instant') to be passed to it.
Not knowing what that was, I simply passed the empty string and the email queuing and sending worked fine.
But what is the parameter Instant supposed to be used for and is there anything special that I should be setting it to?
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,154
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Rank: Newbie
Groups: Registered
Joined: 10/6/2015(UTC) Posts: 1
Yes I did look at those links, hence my post.
The only explanation for the Paramater is
Quote: instance A String value used to specify EASendMail Service instance.
and the example shows simply
Quote: hres = oSmtp.SendMailToQueueEx( "myinstance" )
But how do I know what string vaule I need to pass for any particular installation?
How do I know what my "EASendMail Service instance" is?
Passing an empty string to SendMailToQueueEx seems to work, so what is the difference detween doing that and passing some other string ?
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,154
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
Rank: Newbie
Groups: Registered
Joined: 10/6/2015(UTC) Posts: 1
Ah, OK I understand now, thank you.
Forum Jump
EmailArchitect Support
Email Component Development
- EASendMail SMTP Component - .NET Version
- EASendMail SMTP Component - Windows Store Apps
- EASendMail SMTP ActiveX Object
- EAGetMail POP3 & IMAP4 Component - .NET Version
- EAGetMail POP3 & IMAP4 ActiveX Object
Exchange Server and IIS SMTP Plugin
- DomanKeys/DKIM for Exchange Server and IIS SMTP
- Disclaimer and S/MIME for Exchange Server and IIS
EmailArchitect Email Server
- EmailArchitect Email Server (General)
- EmailArchitect Email Server Development
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.