Results 1 to 9 of 9

Thread: send email and to annex files

  1. #1
    Join Date
    Dec 2006
    Posts
    8
    Qt products
    Qt3
    Platforms
    Windows

    Default send email and to annex files

    hello, i don´t know to annex files in to email in the qt 3.3.3, please help me

    Thanks


  2. #2
    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: send email and to annex files

    Can you provide more details on how you send emails? In general file attachments are done the same way regardless of what way you use to send emails... I suggest you familiarise yourself with documents standarising email transmission over network,

  3. #3
    Join Date
    Dec 2006
    Posts
    8
    Qt products
    Qt3
    Platforms
    Windows

    Default Re: send email and to annex files

    Quote Originally Posted by wysota View Post
    Can you provide more details on how you send emails? In general file attachments are done the same way regardless of what way you use to send emails... I suggest you familiarise yourself with documents standarising email transmission over network,
    i need to send email and i don´t know annex files or one photo or another type. I make a aaplication in the qt 3.3.3 to send email

  4. #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

  5. #5
    Join Date
    Dec 2006
    Posts
    8
    Qt products
    Qt3
    Platforms
    Windows

    Default Re: send email and to annex files

    Thanks, but the QMimeSource working for attachments files in the email?

    Thanks

  6. #6
    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: send email and to annex files

    No, it's for something completely different.

  7. #7
    Join Date
    Dec 2006
    Posts
    8
    Qt products
    Qt3
    Platforms
    Windows

    Default Re: send email and to annex files

    Quote Originally Posted by wysota View Post
    No, it's for something completely different.

    Tkanks, but i don´t know attachments files in the emai, if is possible and you know it explains me, ok?

    Thanks

  8. #8
    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: send email and to annex files

    I already gave you links to documents explaining email attachments and there is always Google.

  9. #9
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: send email and to annex files

    I have not found any single straight forward crossplatform method of attaching files to emails. You basically have to construct the email message directly, discover the user's email server, then connect to it directly.

    As ugly as it is, it's far easier to use #ifdefs and platform specific code. Under Windows you can use mapi32, under Mac AppleScript, and an URL attachment under Unix/Linux.

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.