creating activation email

the mail() function

Moderators: egami, macek, gesf

Post Reply
User avatar
swirlee
Moderator
Moderator
Posts: 2257
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back
Contact:

Wed Feb 02, 2005 7:12 am

Yes, that sounds like a fairly standard implementation.
Image

User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2213
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Wed Feb 02, 2005 9:11 am

it looks ok but you need to use single quotes in the text or slashes because you start a parameter string with " and then have " in the body message..

That will send the mail... however you might need to set up some things in PHP.ini to make it work.. sendmail parameters (if any) for *nix systems OR

; For Win32 only.
SMTP = host here
smtp_port = port here (25 is default)
; For Win32 only.
sendmail_from = me@domain.com
Best Regards,
Alexej Kubarev
-------------------------------
Zend Certified Engineer
Image Image

User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2213
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Wed Feb 02, 2005 10:30 am

ofcourse... if you have an email server on localhost.. otherwise use this one:
smtp.bredband.net on port 25
Best Regards,
Alexej Kubarev
-------------------------------
Zend Certified Engineer
Image Image

User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2213
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Thu Feb 03, 2005 11:36 am

well thats not a really smart :) hehe..

Sorry for the delay: had no time to look at the forum...

Anyway: nice that you've sorted it out :)
Best Regards,
Alexej Kubarev
-------------------------------
Zend Certified Engineer
Image Image

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest