Results 1 to 7 of 7

Thread: Sending mail Using Smtp Client

  1. #1
    Join Date
    May 2013
    Posts
    28
    Thanks
    8
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Symbian S60 Android

    Default Sending mail Using Smtp Client

    Hi friends,
    I have found out in search engine to send mail…When i send the mail…After going 57%,it is showing an error message like this..
    /* Unexpected reply from SMTP server: 530 5.7.0 Must issue a STARTTLS command first. qi1sm23508884pac.21 – gsmtp…………. */ Could any one please sought out my problem please.

  2. #2
    Join Date
    Feb 2012
    Location
    Armenia/Yerevan
    Posts
    400
    Thanks
    15
    Thanked 16 Times in 15 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: Sending mail Using Smtp Client

    Are you sure the SSL support is enabled?

  3. The following user says thank you to saman_artorious for this useful post:

    mohanakannan (5th July 2013)

  4. #3
    Join Date
    May 2013
    Posts
    28
    Thanks
    8
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Symbian S60 Android

    Default Re: Sending mail Using Smtp Client

    very sorry for the late reply Mr.saman_artorious......No,in the coding it is not enabled and also don't know how to enable this ssl//tls in the code...I was strucking in this for more tha 15 days..Please help me.

  5. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Sending mail Using Smtp Client

    How is this question related to Qt?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  6. #5
    Join Date
    May 2013
    Posts
    28
    Thanks
    8
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Symbian S60 Android

    Default Re: Sending mail Using Smtp Client

    In qt only,i was trying to send mail using smtp......But it is telling STRATTLS command needs to be initialosed..How to proceed....

  7. #6
    Join Date
    Feb 2012
    Location
    Armenia/Yerevan
    Posts
    400
    Thanks
    15
    Thanked 16 Times in 15 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: Sending mail Using Smtp Client

    Quote Originally Posted by mohanakannan View Post
    In qt only,i was trying to send mail using smtp......But it is telling STRATTLS command needs to be initialosed..How to proceed....
    This is not relevant to QT. You should enable SSL in your PHP instead.

  8. #7
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Sending mail Using Smtp Client

    Is this even a programming question at all? I have no idea whether I should move the thread to General Programming or General Discussion...

    If the server is asking you for STARTTLS then the client has to send a STARTTLS request.

    Here are the relevant docs:

    http://www.ietf.org/rfc/rfc2821.txt
    http://www.ietf.org/rfc/rfc3207.txt
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. SMTP Client for Qt
    By bluetiger9 in forum Qt-based Software
    Replies: 8
    Last Post: 16th October 2013, 05:10
  2. Sending E-mail
    By mohanakannan in forum Qt Quick
    Replies: 0
    Last Post: 24th June 2013, 09:29
  3. Sending SMTP Email
    By azfar in forum Newbie
    Replies: 1
    Last Post: 30th April 2011, 21:25
  4. Replies: 9
    Last Post: 2nd March 2011, 12:58
  5. sending encrypted data via mail using smtp
    By vermarajeev in forum General Programming
    Replies: 20
    Last Post: 14th August 2007, 20:47

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.