Author Topic: Sending actual ecard discussion  (Read 15162 times)

0 Members and 1 Guest are viewing this topic.

Offline Vampy

  • Newbie
  • *
  • Posts: 45
    • View Profile
Sending actual ecard discussion
« on: June 01, 2003, 12:54:52 PM »
I knwo this topic has been asked before but I found this info from www.php.net. It would seem that mail() function is able to create a multipart message, meaning a mail that consists of both html components nad also a plain text component. I tried to do some modifications to the ecard scripts but I found that my knowledge of php is limiting my attempt.

I looked through the scripts involving the postcards and realised that the mail is assembled thorugh email.php. Now I was able to modify such that if I pass a variable called $html to the set header in the email.php, I can create a header that woud, print out the necessary lines to create a multipart email. However, I could not figure out as to how to modify the set body function in email.php such that it will be able to print out 2 parts of the email one containing html codes and the other is the usual plain text.

I would appreciate if someone can guide me on this.

Thank you.
Julian

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Sending actual ecard discussion
« Reply #1 on: June 01, 2003, 03:57:53 PM »
I'm interesting in such a feature too, but would u point me where did u read about that? ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Vampy

  • Newbie
  • *
  • Posts: 45
    • View Profile
Sending actual ecard discussion
« Reply #2 on: June 01, 2003, 04:01:52 PM »
The article is seveal pages long but the link below is the one I'm refering to.

http://www.sitepoint.com/article/679/4
Julian

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
Sending actual ecard discussion
« Reply #3 on: June 01, 2003, 06:11:17 PM »
this could be done (i believe easy enough  :wink: ) with HTML Mime Mail class, available from http://www.phpguru.org

Offline Vampy

  • Newbie
  • *
  • Posts: 45
    • View Profile
Sending actual ecard discussion
« Reply #4 on: June 02, 2003, 11:19:31 AM »
Tried the url. there was an error message displayed.
Julian

Offline SLL

  • Hero Member
  • *****
  • Posts: 585
    • View Profile
Sending actual ecard discussion
« Reply #5 on: June 02, 2003, 11:44:56 AM »
AFAIK this MOD has been already done by V@no, so, relax and wait for it's public release  :wink:

Offline Vampy

  • Newbie
  • *
  • Posts: 45
    • View Profile
Sending actual ecard discussion
« Reply #6 on: June 02, 2003, 11:56:19 AM »
Really? That's fast. I'll the first to try it out. Very exicted now... 8O
Julian

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Sending actual ecard discussion
« Reply #7 on: June 02, 2003, 12:46:26 PM »
I have to test it little more, before I post the MOD,
also, I'm planning let sender chose what kind of email should be send: TEXT or HTML.

P.S. right now it set to HTML and sends whole postcard (including all needed images and style). U can try it out before I release it ;)
it also works with Flash files, but for some reason .mp3 and video files dont play in the email....
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Vampy

  • Newbie
  • *
  • Posts: 45
    • View Profile
Sending actual ecard discussion
« Reply #8 on: June 02, 2003, 01:26:30 PM »
Thank you so much... I could kiss you from your head to your toes... :D If you don't mind, you can send it to me at moderator@vampirovibrio.com

I was doing some search on the net about the problem you said about .mp3 and video files not playing. Seems like for these filetypes, you will need to declare thier mime settings in the header of the mail as well i.e. audio/mp3 or video/mpg and so on. Dunno if this is helpful or work.
Julian

Offline Vampy

  • Newbie
  • *
  • Posts: 45
    • View Profile
Sending actual ecard discussion
« Reply #9 on: July 03, 2003, 05:57:33 PM »
Hi! Veno, sorry to bother you again but I was wondering the outcome of your testing of the mod that was requested in this post and whether it will be released soon?

Thank you so much.
Julian

Offline renicolay

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Sending actual ecard discussion
« Reply #10 on: November 14, 2005, 03:13:37 AM »
V@no are you still planning on releasing this MOD? It sure sounds great!

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: Sending actual ecard discussion
« Reply #11 on: November 14, 2005, 02:10:27 PM »
waiting to see whats happen!
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Sending actual ecard discussion
« Reply #12 on: November 14, 2005, 02:19:40 PM »
@ renicolay and @ Vincent

you dont need to wait ... take this : [MOD] Send complete HTML-Postcards in mailboxes

PS. a great MOD ... mawenzi ...  :wink:
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline renicolay

  • Newbie
  • *
  • Posts: 43
    • View Profile
Re: Sending actual ecard discussion
« Reply #13 on: November 14, 2005, 04:13:15 PM »
mawenzi,
Thanks for your reply! I am using 4images 1.71 and it seems to have issues? I followed every step and nothing? Have you heard of an issue with my version?


Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Sending actual ecard discussion
« Reply #14 on: November 14, 2005, 07:22:12 PM »
I use this MOD with 4images1.7 on my site ... but ...
this MOD is made by cheribibi  ...  and he use 4images1.7.1 ... and so it should work on this version ...  :?
but for more questions ... here 
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...