photo

Geoff Malone

shared this question
2 years ago

Statistics

2
Comments
308
Views

Share

1
votes

adding attachments to emails

I need to add an attachment to the welcome email when a new member signs up. I setup phpmailer and then spent the day on Google, lots of idea's but can't make it work.

Add Comment

Comments (2)

photo
1

http://docs.transparent-tech.com/open-realty/latest/index.html?userrelatedhooks.html

See "after_user_signup($userID) - called after a successful registration"

Just insert the required PHP code inside this function and voilà! :)

[]s

photo
1

Here is an example: http://eduardomarques.com/downloads/snippets/mail.zip

With this code you can easily reach what you wish using O-R hook system.

[]s

Leave Comment

photo

Attach files...

The file must be a jpg, gif, png, bmp, ico, pdf, doc, rtf, txt, zip or rar no more than 20M