Results 1 to 20 of 36

Thread: Sending email using Qt.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2013
    Posts
    10
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    5

    Default Re: Sending email using Qt.

    Hello guys,
    I am trying to send an email using the code in post#9, i did make the modifiction that were mentioned in post#11. I was trying to send a msg using gmail.
    so what i did was :
    Smtp = *newMail = new ("smtp.gmail.com","mygmail@gamil.com","mygmailPass ward");
    newMail->send("mygmail@gamil.com","mygmail@gamil.com","sub ject","body txt");

    but i the connectoin does not want to establish
    last msg i got is :

    ###Config server smtp connect to .............. "smtp.gmail.com"

    can you please tell me what is wrong am i doing ??

    thanks

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,349
    Qt products
    Qt5
    Platforms
    Windows
    Thanks
    318
    Thanked 872 Times in 859 Posts

    Default Re: Sending email using Qt.

    so what i did was :

    Smtp = *newMail = new ("smtp.gmail.com","mygmail@gamil.com","mygmailP ass ward");
    Really? How did you get your compiler to accept that?

Similar Threads

  1. Replies: 9
    Last Post: 23rd August 2012, 00:01
  2. Replies: 7
    Last Post: 5th January 2009, 08:27
  3. Sending Mail through QProcess
    By KaptainKarl in forum Qt Programming
    Replies: 6
    Last Post: 13th August 2008, 21:51
  4. sending encrypted data via mail using smtp
    By vermarajeev in forum General Programming
    Replies: 20
    Last Post: 14th August 2007, 19:47
  5. qt network performance
    By criss in forum Qt Programming
    Replies: 16
    Last Post: 24th July 2006, 09:23

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.