User Tag List

Results 1 to 3 of 3

Thread: SMTP Disconnect

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    SMTP Disconnect

    Is there something special that needs to be done to have the SMTP extension disconnect from the server?

    Sending e-mails fine, but the program is holding a connection.

    Example:
    Button click
    -SMTP: Connect to server
    -SMTP: Create new message
    -SMTP: Set recipient
    -SMTP: Set from
    -SMTP: Set Subject
    -SMTP: Set Add body txt
    -SMTP: Send message
    -SMTP: Disconnect

    Message is sent, but as stated, the Disconnect does not seem to work.

  2. #2
    No Products Registered

    Join Date
    Jul 2006
    Posts
    111
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SMTP Disconnect

    I've never used the SMTP object, so this is a wild stab in the dark, but it's possible that the disconnect action checks to see if the object is still sending data and, if so, ignores disconnect commands. Since you've got both actions right next to each other, this would be likely to occur.

    I'd check to see if the object has a "Data send completed" event or something like that, then place the disconnect action there.

  3. #3
    No Products Registered

    Join Date
    Jul 2006
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SMTP Disconnect

    Got it. Just in case somebody else has issues. In this particular case, I had to turn the threading off on the e-mail object. This also fixed another problem of not being able to set the text fields to "".

Similar Threads

  1. Email object SMTP security?
    By ratty in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 25th November 2013, 12:52 AM
  2. Making an SMTP server
    By Steven in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 28th September 2008, 05:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •