LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Send email on labview using the Gmail Server (TLS)

While I haven't had any luck freeing up the attachment file by closing the references, I have been able to free it up by using AttachmentCollection Dispose().  I'm not sure if this will do anything for potential memory leaks, but it does allow other programs to access the attachment file after the email is sent.

 

 

Message Edited by minitor on 12-08-2008 09:56 PM
Message 31 of 114
(4,652 Views)

smercurio_fc,

 

i'm still getting "Error 1172", and when i ping smtp.gmail.com it gives me 'request timedout'.

 

can you help me fix it.

 

Atef

0 Kudos
Message 32 of 114
(4,526 Views)

An error from what, doing what? You're replying to a post that's many months old, and you haven't indicated what you're doing or what your code looks like.

 

Many servers will block ping request, but for now, smtp.gmail.com is not. If you're getting a request timeout when trying to ping smtp.gmail.com then it can be (a) the server wasn't available for some reason; or (b) your routers were blocking the ping packet; or (c) one of the many routers between you and smtp.gmail.com was "off-line" temporarily.

0 Kudos
Message 33 of 114
(4,511 Views)

when i run this VI it gives me the Error and i don't know why, and i saw one of your prevoius replies and you said try to  ping smtp.gmail.com.

 

Atef

 

0 Kudos
Message 34 of 114
(4,480 Views)
When I tried it the email was send and received. Does this occur with only Gmail?
0 Kudos
Message 35 of 114
(4,471 Views)

    I appreciate if you could send a PDA version of gmail.vi.





0 Kudos
Message 36 of 114
(4,277 Views)
Eric V
National Instruments
Applications Engineer
Certified LabVIEW Associate Developer


"I'm a Ramblin' Wreck from Georgia Tech and a helluva (NI Applications) Engineer!"
0 Kudos
Message 37 of 114
(4,264 Views)

Eric,

 

Thanks for the help.

 

I was not successful in running the SMTP example provided for PDA Mobile,though I used the same POP and SMTP settings to send mail through my native mobile e-mail client.

 

I got following error message from E-Mail server:

 

"553 Sorry, that domain isn't in my list of allowed rcpthosts."

 

Listing the arbitration between PDA SMTP  VI and e-mail server.

 

Message to server :

  1. HELO 10.20.5.32
  2. MAIL FROM:<info@goflexteq.com>
  3. RCPT TO:<info@goflexteq.com>
  4. DATA
  5. To: info@goflexteq.com
    From: info@goflexteq.com
    Subject: Project details  Test.
  6. QUIT

 Response from Server:

  1. 220 smtpauth02.prod.mesa1.secureserver.net ESMTP.
  2. 250 smtpauth02.prod.mesa1.secureserver.net.
  3. 250 Sender accepted.
  4. 553 Sorry, that domain isn't in my list of allowed rcpthosts.

 I would really appreciate if any of you could interpret this arbitration and let me know waht the issue is.Attaching the VI I used for this communication.

 

Thanks in advance,

Manu Mohan










0 Kudos
Message 38 of 114
(4,238 Views)

Hi Manu Mohan,

 

Is your email server secure?  The SMTP VIs in that example do not allow you to connect to a secure SMTP server.

0 Kudos
Message 39 of 114
(4,217 Views)

 

"This server requires a secure connection(SSL)" option in my outlook settings is disabled.

 

Does that mean my server is not a secure SMTP server ?

 

Thanks,

Manu





0 Kudos
Message 40 of 114
(4,212 Views)