> For the complete documentation index, see [llms.txt](https://pin-studios.gitbook.io/login-system-pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pin-studios.gitbook.io/login-system-pro/tutorial/mail/resend-verify-email.md).

# Resend Verify Email

<figure><img src="https://2006791840-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F21RuTfnucmj2xX9WeLkv%2Fuploads%2F0VxCdDYYjC6k29u3WVSh%2Fimage.png?alt=media&amp;token=eb93d574-8bb4-43de-b566-c5f1e3f91d39" alt=""><figcaption></figcaption></figure>

## Input Type

* Username or email - support 2 types

## OnCompleted

{% content-ref url="/pages/OwrNPpYGhI5bW9u2hIpx" %}
[On Completed Delegate](/login-system-pro/tutorial/on-completed-delegate.md)
{% endcontent-ref %}

## PHP

{% code title="resend\_verify\_email.php" overflow="wrap" %}

````php
```php
$verificationLink = "http://localhost/loginsystempro/verify_email.php?token=$currentToken";
```
Change localhost/loginsystempro -> to your own domain
````

{% endcode %}

## Example

### We need to test it so , i set to verified to false ( 0 )

<figure><img src="https://2006791840-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F21RuTfnucmj2xX9WeLkv%2Fuploads%2FDUaISi53TIdPAeIQOqzU%2Fimage.png?alt=media&amp;token=48f34691-97d6-404f-b40e-1561a125f91a" alt=""><figcaption></figcaption></figure>

### If no verify , and login using Use Veirfy bool true , will show this

<figure><img src="https://2006791840-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F21RuTfnucmj2xX9WeLkv%2Fuploads%2F5l5WRUqROw7XyUXVqz6W%2Fimage.png?alt=media&amp;token=ef803b13-0705-4af2-af43-3e10ca88a079" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2006791840-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F21RuTfnucmj2xX9WeLkv%2Fuploads%2Fh6cZNSNBUnaOB3O7AYTA%2Fimage.png?alt=media&amp;token=af0f0d03-fa57-4ec9-812f-9cd6778d5d05" alt=""><figcaption></figcaption></figure>

{% code overflow="wrap" %}

```
LogTemp: Received response from server: {"status":"fail","message":"Your account has not been verified yet. Please check your email."}
LogTemp: Error: Login failed: Your account has not been verified yet. Please check your email.
```

{% endcode %}

<figure><img src="https://2006791840-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F21RuTfnucmj2xX9WeLkv%2Fuploads%2FLBtxa1bzVwics3spON8G%2Fimage.png?alt=media&amp;token=8b7cb194-3807-47e8-bc89-94cd0ced9851" alt=""><figcaption></figcaption></figure>

{% code overflow="wrap" %}

```
LogTemp: Received response from server: {"status":"success","message":"A new verification email has been sent. Please check your email."}
```

{% endcode %}

### Also using Temp Email

<figure><img src="https://2006791840-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F21RuTfnucmj2xX9WeLkv%2Fuploads%2F8QnEGNz7F5IDa3l5dSiA%2Fimage.png?alt=media&amp;token=209768f0-d0a8-42f9-bfa5-ec39e80e12d6" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2006791840-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F21RuTfnucmj2xX9WeLkv%2Fuploads%2FIhNMccmWzzperVrc3Hal%2Fimage.png?alt=media&amp;token=f12635f1-0491-4552-86e5-2057b35c6dbc" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2006791840-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F21RuTfnucmj2xX9WeLkv%2Fuploads%2F8NIq4cMn4R0jgGpBactk%2Fimage.png?alt=media&amp;token=2670784c-b44f-4a1e-a9fd-f2f7233649a9" alt=""><figcaption></figcaption></figure>
