Php vCards

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Benjamin

    Php vCards

    Hi All,
    I hope you guys can give me some tips on a problem I am facing.

    I'd like to do the following:[color=blue]
    > use a webform to add customers to a mysql database...
    > Send a email to ourself when someone adds his or her company with this[/color]
    form[color=blue]
    > Attached to this email I would like a vCard, so that I can put these new[/color]
    customers in our offline addressbook as well.

    I think I can manage the first two points, but am facing the third. Which
    raises questions like: how do I set up the table in the database? And: how
    do I organize things so that I can use everything that will be in the
    database, with our main system (which is OS Commerce)?

    I am not the main programmer, but have done some stuff like this in the
    past... Can you please help with some hints and/or directions so that I can
    tell the programmer what I would like to do, and that I can start my part of
    the project.

    Thanks in advance,

    Benjamin


  • R. Rajesh Jeba Anbiah

    #2
    Re: Php vCards

    "Benjamin" <kantoor@condom erie.com> wrote in message news:<406583bf$ 0$93565$cd19a36 3@news.wanadoo. nl>...[color=blue]
    > Hi All,
    > I hope you guys can give me some tips on a problem I am facing.
    >
    > I'd like to do the following:[color=green]
    > > use a webform to add customers to a mysql database...
    > > Send a email to ourself when someone adds his or her company with this[/color]
    > form[color=green]
    > > Attached to this email I would like a vCard, so that I can put these new[/color]
    > customers in our offline addressbook as well.[/color]

    <snip>

    1. http://phpmailer.sourceforge.net/
    2. http://www.google.com/search?q=php+mail
    3. http://www.google.com/search?q=php+vcard

    --
    http://www.sendmetoindia.com - Send Me to India!
    Email: rrjanbiah-at-Y!com

    Comment

    • Brendan Donahue

      #3
      Re: Php vCards

      R. Rajesh Jeba Anbiah wrote:
      [color=blue]
      > "Benjamin" <kantoor@condom erie.com> wrote in message
      > news:<406583bf$ 0$93565$cd19a36 3@news.wanadoo. nl>...[color=green]
      >> Hi All,
      >> I hope you guys can give me some tips on a problem I am facing.
      >>
      >> I'd like to do the following:[color=darkred]
      >> > use a webform to add customers to a mysql database...
      >> > Send a email to ourself when someone adds his or her company with this[/color]
      >> form[color=darkred]
      >> > Attached to this email I would like a vCard, so that I can put these
      >> > new[/color]
      >> customers in our offline addressbook as well.[/color]
      >
      > <snip>
      >
      > 1. http://phpmailer.sourceforge.net/
      > 2. http://www.google.com/search?q=php+mail
      > 3. http://www.google.com/search?q=php+vcard
      >[/color]
      The MySQL part can be accomplished with the functions at

      Use the mail() function to send the email: http://php.net/mail
      And http://pear.php.net has a class that makes it very easy to manage vCards
      with PHP.

      Comment

      Working...